Deleted branch still listed on the Branches page (delete does nothing) #214484
Unanswered
tgockel
asked this question in
Repositories
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
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.
🏷️ Discussion Type
Bug
Body
I can't delete a branch in GitHub because there is an apparent bug on GitHub's side. I figured it would be fixed by now but it isn't. I don't know how else to contact anyone at GitHub to get this addressed.
Repository: https://github.com/tgockel/outrig
Branch:
305-subagent-trace-pathThe branch no longer exists, but the Branches page still lists it. Please remove the stale entry (re-index the repository's branch list).
What I see
curl -H 'Accept: application/json' https://github.com/tgockel/outrig/branches/all(same for
/branches/active) returns it with"authoredDate": "2026-10-21T13:49:58.000+00:00"and
"deleteable": true. That listing has 6 entries; the repository has 5 branches.What the git data says
GET /repos/tgockel/outrig/branches/305-subagent-trace-path-> 404GET /repos/tgockel/outrig/git/matching-refs/heads/305->[]git ls-remote origin 'refs/heads/305*'-> no outputrefs(refPrefix: "refs/heads/")->totalCount5, without itHistory
branch_creation, after88229ba7f5f9b9c0a22201162e59ce395b1d9d51)head_ref_deletedbranch_deletionentry for this ref. It has one for each of 609 other refs, including 5 on 2026-10-21 (for examplerefs/heads/merge-0.2.2at 14:40:57Z).88229ba7f5f9b9c0a22201162e59ce395b1d9d51is an ancestor oftrunk, so no work is lost.All reactions