I forked a project on Github from source A. Since then, the standard practice is to issue pull requests not to A, but to B. That means every pull request, I have to manually specify the destination of the pull request - a bit tedious.
Is there a way to permanently change the source of my fork?
I didn't find it at first, but one workaround would be to make another fork, this time from source B
, and:
At least, this second fork will have the right destination for all pull requests.
Note: the OP Steve Bennett reminds us that:
Github won't allow you to fork the same repository twice.
(That is, you forkA
to makeC
, then someone else forksA
to makeB
- you can't forkC
to makeD
. You get the "Your Fork
" button)
So I suggests to do that second fork under another account.
You can manage multiple accounts from your local clones, and that would allow you to bypass the GitHub limitation on multiple forks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With