Contributing changes to supermetroid
September 11, 2019 ยท View on GitHub
Fix typos, name magic numbers, or document code. No matter how small, we welcome your contributions.
To contribute, follow these three steps:
- Download the code
- Make your changes
- Submit a GitHub pull request
After submitting your pull request, your contribution will be reviewed by the project's maintainers, then it will be merged.
Download the code
Install and configure Git, then clone this project's Git repository:
$ git clone https://github.com/strager/supermetroid.git
Make your changes
Reference for experienced contributors:
$ git fetch https://github.com/strager/supermetroid.git
$ git rebase FETCH_HEAD
$ make
$ # Edit the codez.
$ make
Before you start, ensure you have the latest version of the code.
For build instructions, see README.md.
Submit a GitHub pull request
Reference for experienced contributors:
$ git add --all .
$ git commit
$ git push https://github.com/**YOUR*NAME**/supermetroid.git HEAD:refs/heads/**YOUR*BRANCH**
$ # Open in your browser: https://github.com/**YOUR*NAME**/supermetroid/pull/new/**YOUR*BRANCH**
If you haven't already, fork this project on GitHub then register your fork with your local Git repository.
Create one or more Git commits containing your local changes.
Upload your changes to a branch in your fork.
Finally, submit a pull request on GitHub to share your changes. If you have a preference whether you want the changes rebased, squashed-and-rebased, or merged, please write your preference in a comment on the pull request.
See GitHub's pull requests documentation for more information.
Review
Rejected contributions
We might reject your contribution for the following reasons:
- Tests fail. Ensure tests pass before submitting your pull request: Run
make clean, then runmakeand ensure it succeeds. - Contributions were stolen. If you contribute changes based on discoveries made by other people, ask the discoverer for permission to use the discoveries, and credit the discoverer by including their name in your commit's message.