+ [2014-08-17T23:36:40Z] VxJasonxV an alias is executed as a single command, so bash will literally run a command called "git commit -am "test deploy" --amend && git push vhost HEAD:master -f" which will error because -f isn't a flag, and the rest of the parameters aren't relevant to git commit
+ [2014-08-17T23:49:19Z] Remram You can just put a trailing dash or something
+ [2014-08-17T23:50:07Z] Remram wait no, && totally should work in aliases
+ [2014-08-17T23:52:08Z] Remram [alias] vtest = !git commit -am "test deploy" --amend && git push vhost HEAD:master -f
+ [2014-08-17T23:52:17Z] Remram (I'm assuming git alias, not bash alias)

message no. 40277

Posted by jab416171 in #github at 2014-08-17T03:12:17Z

alindeman, that's unfortunate
+ [2014-08-18T00:08:34Z] VxJasonxV I was talking about a bash alias
+ [2014-08-18T00:08:59Z] VxJasonxV didn't think about git aliases. I've only ever used aliases with ; delimiters, never ^^
+ [2014-08-18T00:38:38Z] Remram I've got some git aliases, they are really useful
+ [2014-08-18T00:38:46Z] Remram his link is about git aliases, too