Skip to content

improve contribution documentation #35

@schuderer

Description

@schuderer

Missing info in CONTRIBUTING:

Add the upstream remote. This saves a reference to the main scikit-learn
repository, which you can use to keep your repository synchronized
with the latest changes:

$ git remote add upstream https://github.com/scikit-learn/scikit-learn.git

...

It is often helpful to keep your local branch synchronized with the latest
changes of the main scikit-learn repository:

$ git fetch upstream
$ git merge upstream/master

NOTE: it's preferrable to (if possible) rebase instead of merging (merging creates a lot of meaningless merge commits). In our doc, the last suggested command should probably be:

$ git rebase upstream/master

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions