I'm using Git and being an old dude, I prefer to punch my will on the keyboard rather than send a rodent on a clicky trip. So, usually when I finish off my work, I'll go something like this in the console.
git add .
git commit --message "Cure for cancer (or so it feels like)"
git push
I could have a static script doing that but, regrettably, not every day's contribution is as awesome as the cure for cancer, so I'd need to have a script that takes a parameter (and if none is provided, it could be substituted by e.g. "donkey".
How would I go about creating such script?
I've googlearched it a bit but got a lot of different suggestions and at my competence level with PowerShell, I have the fear that I'll screw something up really badly. Creating a batch file would be an option but now that I do the magic in PowerShell, I fell I ought to learn it a bit more. As long as we can keep the learning curve not very steep, hehe.
Suggestions?