常用快捷命令
g - git
gst - git status
gl - git pull
gup - git pull
gp - git push
gd - git diff
gdc - git diff
gdv - git diff -w "$@" | view
gc - git commit -v
gc! - git commit -v
gca - git commit -v -a
gca! - git commit -v -a
gcmsg - git commit -m
gco - git checkout
gcm - git checkout master
gr - git remote
grv - git remote -v
grmv - git remote rename
grrm - git remote remove
gsetr - git remote set-url
grup - git remote update
grbi - git rebase -i
grbc - git rebase
grba - git rebase
gb - git branch
gba - git branch -a
gcount - git shortlog -sn
gcl - git config
gcp - git cherry-pick
glg - git log
glgg - git log
glgga - git log
glo - git log
glog - git log
gss - git status -s
ga - git add
gm - git merge
grh - git reset HEAD
grhh - git reset HEAD
gclean - git reset
gwc - git whatchanged -p
gsts - git stash show
gsta - git stash
gstp - git stash pop
gstd - git stash drop
ggpull - git pull origin $(current_branch)
ggpur - git pull
ggpush - git push origin $(current_branch)
ggpnp - git pull origin $(current_branch) && git push origin $(current_branch)
glp - _git_log_prettily