oh-my-zsh
2017-06-23 本文已影响0人
robtomb_
zsh关于git的配置在一下这个文件里
.oh-my-zsh/plugins/git/git.plugin.zsh
官方文档:
https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
列举我经常用到的:
alias g='git'
alias ga='git add'
alias gaa='git add --all'
alias gl='git pull'
alias gp='git push'
alias grhh='git reset HEAD --hard'
alias gst='git status'
alias glgg='git log --graph'
alias gcam='git commit -a -m'
alias gcsm='git commit -s -m'
alias gcl='git clone --recursive'