git: Pulling from master

Dirk Hohndel dirk at hohndel.org
Fri Nov 17 07:52:58 PST 2017


> On Nov 17, 2017, at 7:51 AM, Willem Ferguson <willemferguson at zoology.up.ac.za> wrote:
> 
> On 17/11/2017 17:38, Dirk Hohndel wrote:
>> 
>> And just in case that isn't obvious - there really isn't a huge need to keep the 'master' in your fork in sync with upstream. You can always just pull from upstream on your local machine.

> But I can only issue a PR from my fork on Github. Therefore my Github fork should contain an up-to-date master with my change that I wish to have pulled. Is this correct?

Actually, GitHub doesn't care if YOUR master is up to date. If you push a branch on which you worked to GitHub, it will offer to you to create a PR against master of the upstream project which you forked.

/D



More information about the subsurface mailing list