git alias 命令简写 缩写 别名 懒人必备
原来是
git status
git commit -a -m 'msg'
git checkout branch
设置别名
git config --global alias.st "status"
git config --global alias.ci "commit"
git config --global alias.co "checkout"
简单多了有没有
git st
git ci -a -m 'msg'
git co branch
还有更简单的
gst
gcam 'msg'
gco branch
请查阅 oh my zsh