From 9556cb781525f7d9bd254d5d311714690a730dd5 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sat, 7 Apr 2018 03:50:21 +0200 Subject: [PATCH] undo shortcut --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index 8b8ab6d..15e47ec 100644 --- a/.gitconfig +++ b/.gitconfig @@ -5,6 +5,7 @@ [alias] lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d" + undo = reset HEAD~ [commit] gpgsign = true [core]