Update default git logging

This commit is contained in:
Andrew Tomaka 2016-01-12 09:13:41 -05:00
parent ba2afd41e9
commit 93ebad0802
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ alias gdss="git diff --shortstat"
alias gfa="git-date-added"
alias gfl="git log --patch"
alias gi="gitignore-io"
alias gl="git log"
alias gl="git lol"
alias gh="git hist"
alias ghd="git hist-details"
alias ght="git hist-tags"

View file

@ -10,6 +10,7 @@
hist = log --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
hist-details = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lol = log --graph --decorate --pretty=oneline --abbrev-commit
most-recent-by-branch = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
[color]
ui = auto