Improve git log pretty format aliases

This commit is contained in:
Henrik Lissner 2017-06-24 17:51:32 +02:00
parent ded7f71548
commit 92c8f0bbf9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -42,6 +42,8 @@ alias gr='git reset HEAD'
alias gt='git tag' alias gt='git tag'
alias gtd='git tag -d' alias gtd='git tag -d'
alias gta='git tag -a' alias gta='git tag -a'
alias gl='git log --oneline --decorate --graph' alias gl='git log --graph --pretty="format:%C(yellow)%h%Creset %C(red)%G?%Creset%C(green)%d%Creset %s %Cblue(%cr by %aN)"'
alias gls='git log --oneline --decorate --graph --stat' alias gls='gl --stat'
alias gL='git log --oneline --decorate --graph'
alias gLs='git log --oneline --decorate --graph --stat'