5
2
In Git-Bash I have an alias that executes two commands; update the list of branches for a git repository, then print them:
alias glb='git remote update origin --prune && git branch -a'
How do I do this in ConEmu? Specifically, Cmder for Windows.
Since ConEmu doesn't use quotes with alias
, I have to type alias glb=git remote update origin --prune && git branch -a
which is interpreted as two separate commands, first alias glb=git remote update origin --prune
and then git branch -a
.
The answer depends on shell you are using and exact place where you are trying to configure alias – Maximus – 2015-10-13T22:53:39.163
It's Cmder for Windows. I updated the question to clarify this. – craigpatik – 2015-10-14T11:21:56.323
I've asked about shell too! cmder is a terminal. – Maximus – 2015-10-14T15:35:11.830
1Actually, if you are using cmd.exe, you may just use double quotes instead of single ones. – Maximus – 2015-10-14T15:38:12.237