- You need the rights to reopen pull requests on the repository.
- The pull request hasn't been merged, just closed.
- Get your latest commit hash of your branch (
LAST-HASH
):git log --oneline -1 <PR-BRANCH>
- Get the latest commit hash before the PR has been closed on github (
CLOSE-HASH
). git push -f origin <CLOSE-HASH>:<PR-BRANCH>
- Reopen the PR.
git push -f origin <LAST-HASH>:<PR-BRANCH>