在 Git-Bash 中,我有一个执行两个命令的别名;更新 git 存储库的分支列表,然后打印它们:
alias glb='git remote update origin --prune && git branch -a'
我如何在 ConEmu 中做到这一点?具体来说,适用于 Windows 的Cmder。
由于ConEmu不使用与引号alias,我要类型alias glb=git remote update origin --prune && git branch -a,其被解释为两个单独的命令,第一alias glb=git remote update origin --prune和然后git branch -a。