On Friday, 6 November 2015 at 11:07:10 UTC, Gerald Jansen wrote:
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.
Either way, just take a look how much of red tape is needed
around >work<, when the opposite should be true: >work< should be
the major part of any bugfixing.
Visually it is staggering - the first time I read your post, I
thought you'd simply forgotten to mention actual coding:
http://i.imgur.com/fuiSxwj.png