美文网首页
zsh git 缩写

zsh git 缩写

作者: 藏器待时 | 来源:发表于2018-04-27 14:53 被阅读0次

alias ga='git add'

alias gb='git branch'

alias gba='git branch -a'

alias gbd='git branch -d'

alias gcam='git commit -a -m'

alias gcb='git checkout -b'

alias gco='git checkout'

alias gcm='git checkout master'

alias gcp='git cherry-pick'

alias gd='git diff'

alias gfo='git fetch origin'

alias ggpush='git push origin $(git_current_branch)'

alias ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'

alias glgp='git log --stat -p'

alias gm='git merge'

alias gp='git push'

alias gst='git status'

alias gsta='git stash save'

alias gstp='git stash pop'

alias gl='git pull'

alias glg='git log --stat'

alias glgp='git log --stat -p'

alias glgga='git log --graph --decorate --all' 

git log --graph --decorate --pretty=oneline --abbrev-commit 美化输出

相关文章

网友评论

      本文标题:zsh git 缩写

      本文链接:https://www.haomeiwen.com/subject/gnwblftx.html