Moving from SVN to Git seemed to add a few extra steps into my work flow with committing adding push etc. Yes! I’m aware Git isn’t SVN and it provides more flexibility.
Anyway I wanted the ability to add && commit in a single line.
Simply adding this to git config made my dreams come true:
$git config –global alias.add-co ‘!git add -A && git commit’