Under 1000 opened bugs for Phobos

Gerald Jansen via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 6 03:07:08 PST 2015


On Tuesday, 3 November 2015 at 19:42:58 UTC, Andrei Alexandrescu 
wrote:
> I wrote this: http://wiki.dlang.org/Starting_as_a_Contributor, 
> is it what you need it to be? -- Andrei

Okay, so we have slight variations that cause confusion for 
newcomers like me:

Model A:
- directly clone upstream (becomes origin)
- create topic-branch; work; commit
- switch to master branch; pull --ff-only origin master
- switch to topic-branch; rebase from master branch
- create my fork in github and add remote myfork
- push to myfork

Model B: (recommended if you are planning to create PRs from the 
outset?)
- first create my fork in github
- clone my fork (becomes origin)
- create topic-branch; work; commit
- add remote upstream
- switch to master branch; pull --ff-only upstream master
- switch to topic-branch; rebase from master branch
- push to origin

Of course there are many possible workflows with git and github, 
but it would be helpful to beginners if the various D wiki pages 
(and advice on the forums) followed a consistent model.


More information about the Digitalmars-d mailing list