From: Gabriel Dunne Date: Fri, 18 Nov 2011 15:31:18 +0000 (+0530) Subject: Added relative time to gitconfig X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=0a920adfd33bbd5cb706362ab00cce61dec04a1c;p=dotfiles.git Added relative time to gitconfig --- diff --git a/.gitconfig b/.gitconfig index 6f611ca..4ece5e1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -5,8 +5,8 @@ editor = vim pager = cat [alias] - lg = log -16 --color=always --all --graph --topo-order --pretty='format: %Cgreen%h%Creset %s%Cred%d%Creset %Cblue(%an)%Creset%n' - lgg = log --color=always --all --graph --topo-order --pretty='format: %Cgreen%h%Creset %s%Cred%d%Creset %Cblue(%an)%Creset%n' + lg = log -16 --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen%cr %C(blue)%an%Creset' --abbrev-commit --date=relative + lgg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen%cr %C(blue)%an%Creset' --abbrev-commit --date=relative unstage = reset HEAD [color] branch = auto