-
-
Save Farhan-Haseeb/fd4cbb476de4e2931c322d7bacb75e5f to your computer and use it in GitHub Desktop.
How to reopen a pull-request from github? | |
Precodinitions | |
You need the rights to reopen pull requests on the repository. | |
The pull request hasn't been merged, just closed. | |
Go to Pull requests add filter `is:closed` choose PR you want to reopen. Select from checkbox and mark as Open. | |
Why the "Reopen pull request" button is disable even after you write something in the comment?
"You need the rights to reopen pull requests on the repository."
How to do it?
If you changed the branch name or deleted the branch, the reopen pull request button will be disabled so first you need to click the restore branch button in the right section of your commit ( change branch name / delete branch commit) inside your pull request then the reopen button will be enabled
nicr
If you changed the branch name or deleted the branch, the reopen pull request button will be disabled so first you need to click the restore branch button in the right section of your commit ( change branch name / delete branch commit) inside your pull request then the reopen button will be enabled
Thanks for this info!
Very helpful.
Thanks
Hi, haha. I changed the visibility of my fork and my pr has closed. Thanks for the tips.
If you changed the branch name or deleted the branch, the reopen pull request button will be disabled so first you need to click the restore branch button in the right section of your commit ( change branch name / delete branch commit) inside your pull request then the reopen button will be enabled
I'm having trouble finding this button. I can't see it in the Conversation tab, nor the base Commit tab, or when I click on the commit corresponding with the branch. Note that my issue is that the branch that this PR's branch is based on was deleted - would this not be covered by this approach?
Edit: I found my answer in https://stackoverflow.com/a/75471397/948622 and added a note for the specific issue I encountered.
This doesn't seem to work if the branch was deleted
I re-published a branch, and this method is not working.
So technically github has a bug. What appears to be working, is not actually working.