I am chaining a bunch of git commands in alias as below. How do I get the 'echo' part to work:
[alias]
comb = ! sh -c 'echo \"Combining branches $1 with $2\"' && git checkout $2 && git merge $1 && git push && git checkout $1 && :
Some context: Git Alias - Multiple Commands and Parameters