Mercurial > hg > config
diff .gitconfig @ 818:352530cbf195
[gitconfig] rename this + make it work
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 08 Dec 2016 10:00:51 -0800 |
parents | 446107608d89 |
children | 737b9eda7f77 |
line wrap: on
line diff
--- 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