From 621c5f12382d8fc8168f20e5318123e1b2b23970 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 6 Jan 2018 15:31:59 +0000 Subject: [PATCH] Reset branch after cleanup --- modules/shell/files/applications.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/shell/files/applications.sh b/modules/shell/files/applications.sh index 63a3028..31c2778 100644 --- a/modules/shell/files/applications.sh +++ b/modules/shell/files/applications.sh @@ -24,6 +24,7 @@ gh() { git-cleanup() { command git checkout master && git branch --merged | grep -v '*' | xargs -n 1 git branch -d command git gc --aggressive + command git checkout - } alias t="tig"