Re: bug report: spurious "cannot delete branch '%s' used by worktree"
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Apr 2, 2024, 10:38 UTC
- Message-ID
- <b331feb8-6af3-4361-9822-31c7440e65f8@app.fastmail.com>
- In-Reply-To
- <CAEYvasmb1TjwWpSbfSAogbOiB64sZQiHVoUhxvY+NoLmXnRuHA@mail.gmail.com>
On Tue, Apr 2, 2024, at 12:26, Tamir Duberstein wrote:
Show 7 quoted lines
> > % ls $(git rev-parse --git-path rebase-merge) $(git rev-parse > --git-path rebase-apply) > ls: .git/rebase-apply: No such file or directory > ls: .git/rebase-merge: No such file or directory > > Yes, it's the only worktree.
Have you tried `git worktree repair`?
-- Kristoffer Haugsbakk