How to stage and commit all the files including the newly added files using a single command.
A:
You can write a small script (look at Ian Clelland's answer) called git-commitall
which uses several git commands to perform what you want to do.
Place this script in your anywhere in your $PATH
. You can call it by git commitall
... very handy!
Found here
tanascius
2010-03-10 17:58:17
The answer below that one using aliases looks good too.
Dana the Sane
2010-03-10 18:03:13
The whole thread is a good reading ... that's why I linked it ^^
tanascius
2010-03-10 18:07:19