# 我的 git alias 配置
alias ga="git add"
alias acm="git add . && git commit -m"
alias cv="git commit -v"
alias pull="git pull"
alias push="git push"
alias ch="git checkout"
alias s="git status -sb"
alias r="git reset --hard"
alias clone="git clone"
alias i="git init"
alias l="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | less"
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11