Repository navigation
Option to remove worktrees with git hide
#1700
zachallaun
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I regularly use
git hide -rto clean up old commits and branches, but when it's used by a worktree, you end up with a pretty opaque git-branchless crash:Similar to how
-rdeletes branches, I'd love for it to automatically remove associated worktrees.Most consistent might be for this to happen by default and suppressed implicitly by
--no-delete-branchesif the worktree is on a branch.All reactions