I try to convince my coworkers to leave svn and switch to git. One problem I see coming is: It's complicated and error-prone to have to do git commit and git push separately. So I was thinking about a git ci alias, which commits the changes and pushes it right to the server. I know, how to do that, but:
The problem is, that I want to give arguments like -m "" to git commit. So
git ci -m "Cool change"
should execute
git commit -m "Cool change" && git push
How can I do so?