modified undo-add alias, added undo-modif alias
authorpatrick nsukami <ndkpatt@gmail.com>
Wed, 17 Sep 2014 13:54:03 +0000 (13:54 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Wed, 17 Sep 2014 13:54:03 +0000 (13:54 +0000)
.gitconfig

index e189052..1003273 100644 (file)
@@ -14,7 +14,8 @@
         lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
         lg = !"git lg1"
         undo-commit = reset --soft HEAD^
-        undo-add = checkout
+        undo-add = reset HEAD
+        undo-modif = checkout
         assume-unchanged = update-index --assume-unchanged
         delete-local-branch = branch -d
         create-branch = checkout -b