diff --git a/.config/git/config b/.config/git/config
index ea261552b35a4735fc9731e464b1e6722db417d5..fcbcacd560355b9066a82f2083500abeed50111b 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]