Replies: 1 comment
|
Thank you for your interest in contributing to our community! We currently only accept discussions created through the GitHub UI using our provided discussion templates. Please re-submit your discussion by navigating to the appropriate category and using the template provided. This discussion has been closed because it was not submitted through the expected format. If you believe this was a mistake, please reach out to the maintainers. |
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.
Summary
After a pull request is merged, deleting its head branch with the "Delete branch" button in GitHub Mobile (iOS) closes every open pull request that uses that branch as its base. The same button on github.com retargets those pull requests to the merged PR's base branch, as the docs describe.
Steps to reproduce
feature-a→main) and PR B (feature-b→feature-a).Expected
PR B's base changes to
main. From Managing branches within your repository:Actual
PR B is closed. Its timeline shows
base_ref_deleted, thenclosedin the same second. It can't be reopened until the base branch is restored.Doing step 3 on github.com instead retargets PR B to
main. I tested both in the same private repository: the mobile app on 2026-10-19 and the web on 2026-10-20.Environment
All reactions