.bashrc 配置命令别名
# git alias
#============================================
alias gs='git status'
#============================================
alias gss='git stash'
alias gsl='git stash list'
alias gsa='git stash apply'
alias gsp='git stash pop'
alias gsc='git stash clear'
#============================================
alias gd='git diff'
alias gdc='git diff --cached'
#============================================
alias ga='git add'
alias gaa='git add .'
#============================================
alias gb='git branch'
alias gba='git branch -a'
alias gbd='git branch -d'
alias gbD='git branch -D'
#============================================
alias gc='git checkout'
alias gcb='git checkout -b'
#============================================
alias gcp='git cherry-pick'
#============================================
alias gcc='git commit'
alias gcm='git commit -m'
alias gca='git commit --amend'
#============================================
alias gm='git merge'
#============================================
alias gl='git log'
alias glp='git log -p'
alias gls='git log --stat'
alias gla='git log --author='
#============================================
alias gps='git push'
alias gpl='git pull'
alias gpss='git push --set-upstream origin'
alias gpsd='git push origin :'
#============================================
标签:命令,git,log,bashrc,--,stash,alias,branch,Bash
From: https://www.cnblogs.com/xiaodi-js/p/17716104.html