threads / discuss / 62985

unable to delete branch with forgotten bisect

Subject: unable to delete branch with forgotten bisect

## tl;dr

One message between Feb 21, 2025 and Feb 21, 2025.

replies: 0people: 1as markdown or json

stsp· Feb 21, 2025, 10:03 UTC · lore
Hi.

Trying to delete the branch, I was getting this error:

error: cannot delete branch '<branch_name>' used by worktree at '<wtree_path>'

It wasn't used by that work-tree directly, so I was very confused. It appears this branch had the forgotten bisect.

It would be very good if git can write a more prominent message for such a case, like:

error: cannot delete branch '<branch_name>' because bisect is in progress

← back to recent threads