✏️ 美化 git log 命令

This commit is contained in:
nick 2019-08-09 21:58:39 +08:00
parent 9b6d51219c
commit 35ab977a4c

2
git.md
View File

@ -34,7 +34,7 @@ __快捷别名__
alias gs='git status' alias gs='git status'
alias gm='git merge' alias gm='git merge'
alias gtag='git tag' alias gtag='git tag'
alias gl='git log' alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | less"
alias gb='git branch' alias gb='git branch'
alias gpull='git pull' alias gpull='git pull'
alias gpush='git push' alias gpush='git push'