# HG changeset patch # User Jeff Hammel # Date 1481220051 28800 # Node ID 352530cbf195d1916021f583cc2644569f3a18a2 # Parent 9f42400dcd83c8bd27fe2b7d517796e3ac491711 [gitconfig] rename this + make it work diff -r 9f42400dcd83 -r 352530cbf195 .gitconfig --- a/.gitconfig Tue Nov 29 16:33:39 2016 -0800 +++ b/.gitconfig Thu Dec 08 10:00:51 2016 -0800 @@ -5,7 +5,7 @@ email = jehammel@cisco.com [alias] branches = branch -a - branchname = git rev-parse --abbrev-ref HEAD + current-branch = 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