From 2acecc6b0780f682f81dc33d7123d3853387842c Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 23 May 2019 15:20:23 +0300
Subject: [PATCH] fixup! Some more git shortcut aliases.

---
 .config/git/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/git/config b/.config/git/config
index ea26155..fcbcacd 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -30,7 +30,7 @@
     staaash = stash push --all --include-untracked
     stat = status --short --branch
     tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)"
-    temptree = !git worktree add "$(mktemp -d)"
+    temptree = !git worktree prune && git worktree add "$(mktemp -d)"
     tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
     trigger = !git commit --allow-empty --no-edit --amend && git pushes --force-with-lease
 [color]
-- 
GitLab