Is there any way I can do
git add -A git commit -m \"commit message\"
in one command?
I seem to be doing those two commands a lot,
In the later version of git you can add and commit like this
git commit -a -m "commit message"
Additionally you an alias:
[alias] ac = commit -a -m
Then you can use it like this:
git ac "commit message"