First off, thank you for considering contributing to react-swift-reveal. It's people like you that make react-swift-reveal such a great tool.
If you've noticed a bug or have a feature request, make sure to check our issues if there's already an open issue addressing your concerns. If not, feel free to open a new issue.
If this is something you think you can fix, then fork the repository and create a branch with a descriptive name.
A good branch name would be (where issue #123 is the ticket you're working on):
git checkout -b fix-123
Here's the most likely process you'll follow in order to contribute:
- Fork the project & clone locally. Follow the initial setup here.
- Create a branch, e.g.
git checkout -b my-feature-branch
. - Work on the changes. Make sure you adhere to the code style guide.
- Push the branch to the GitHub project.
- Open a Pull Request to the master branch.
At this point, you should switch back to your master branch and make sure it's up to date with the latest changes from the main project's master branch:
git remote add upstream git@github.com:original-owner-username/react-swift-reveal.git
git checkout master
git pull upstream master
Then update your feature branch from your local copy of master and push it!
git checkout fix-123
git rebase master
git push --set-upstream origin fix-123
Finally, go to GitHub and make a Pull Request.
Fill in the form for the Pull Request including as much information as possible about your changes.
Now the request is created, wait for the maintainers to review your changes. If they suggest changes,:
- Make the required updates.
- Re-run the test suite to ensure tests are still passing. 3.Commint your changes to your branch.
git commit -am "Address review feedback"
- Push your changes to your branch.
git push origin fix-123
If everything goes well, your Pull Request will be merged to the master branch.
You did it! You contributed to react-swift-reveal. Now, you can celebrate. 🎉