23 ms·
How do people even use GitHub without knowing this? You have to add your fork as a separate remote.
by globular-toast 3y ago
How do people even use GitHub without knowing this? You have to add your fork as a separate remote.
- wdfx 3y agoCan you not also push back to your fork and GH guides you to make a PR from your fork/branch to the upstream? IIRC, you don't have to deal with the upstream locally?
- kevincox 3y agoYes. You only need to add the upstream repo if you want to fetch the newest changes. So it is something that you will probably only run into on your second PR. I wouldn't be surprised if the vast majority of GitHub users never send a second PR to a third-party projects. Probably the majority of users only contribute to their own (or their company's own) repos. Then a small number send at least one pull request to another user's repo. Fewer still would send more than one in a way that requires pulling new changes from upstream.