# HG changeset patch # User Jeff Hammel # Date 1475700655 25200 # Node ID 0aa1d72ef53867ccb9660917f0ea7c70e1f252af # Parent 46674fb646864f651191c11078976a2e8f8f2b1c add log graph alias diff -r 46674fb64686 -r 0aa1d72ef538 .gitconfig --- a/.gitconfig Tue Oct 04 11:05:20 2016 -0700 +++ b/.gitconfig Wed Oct 05 13:50:55 2016 -0700 @@ -7,6 +7,7 @@ branches = branch -a branchname = git rev-parse --abbrev-ref HEAD discard = reset HEAD --hard + graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd)%Creset' --abbrev-commit --date=relative patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) root = rev-parse --show-toplevel