Is there any way to change head fork of existing pull request?
I have earlier created a pull request with branch A, now I want that PR to take commits from branch B.
If the base (the branch against which your PR is compared remains the same), you your PR branch must change its content, you simply can force push a new content:
git checkout B
git push --force B:A
The PR will update its content (new list of commits)
However, the branch A on the fork will keep its original name (A
), because you cannot rename a branch involved in a PR on your fork.