changeset 818:352530cbf195

[gitconfig] rename this + make it work
author Jeff Hammel <k0scist@gmail.com>
date Thu, 08 Dec 2016 10:00:51 -0800
parents 9f42400dcd83
children 2d32115dc56c
files .gitconfig
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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