UNPKG

2.2 kBMarkdownView Raw
1Good pull requests - patches, improvements, new features - are a fantastic
2help.
3
4If you've spotted any small, obvious errors and want to help out by patching it,
5that will be much appreciated.
6
7If your contribution involves a significant amount of work or substantial
8changes to any part of the project, please open a "contribution enquiry" issue
9first to check that the work is wanted or matches the goals of the project.
10
11All pull requests should remain focused in scope and avoid containing unrelated
12commits.
13
14Please follow this process; it's the best way to get your work included in the
15project:
16
171. [Fork](http://help.github.com/fork-a-repo/) the project.
18
192. Clone your fork (`git clone
20 git@github.com:<your-username>/<repo-name>.git`).
21
223. Add an `upstream` remote (`git remote add upstream
23 git://github.com/<upsteam-owner>/<repo-name>.git`).
24
254. Get the latest changes from upstream (e.g. `git pull upstream
26 <dev-branch>`).
27
285. Create a new topic branch to contain your feature, change, or fix (`git
29 checkout -b <topic-branch-name>`).
30
316. Create the needed tests to ensure that your contribution is not broken in the future.
32 If you are creating a small fix or patch to an existing feature, just a simple test
33 will do, if it is a brand new feature, make sure to create a new test suite.
34
357. Make sure that your changes adhere to the current coding conventions used
36 throughout the project - indentation, accurate comments, etc.
37
388. Commit your changes in logical chunks; use git's [interactive
39 rebase](https://help.github.com/articles/interactive-rebase) feature to tidy
40 up your commits before making them public. Please adhere to these [git commit
41 message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
42 or your pull request is unlikely be merged into the main project.
43
449. Locally merge (or rebase) the upstream branch into your topic branch.
45
4610. Push your topic branch up to your fork (`git push origin
47 <topic-branch-name>`).
48
4911. [Open a Pull Request](http://help.github.com/send-pull-requests/) with a
50 clear title and description.
51
52If you have any other questions about contributing, please feel free to contact
53me.
\No newline at end of file