This is a handy step-by-step guide you need to follow to create your Pull Request (PR). In this guide, we'll consider using Git and Github.
1) Fork the Repository (Repo)
Find the project you want to contribute to and FORK it on GitHub.
To create a fork, you get a Fork button, click that
2) Clone the Repo to your clone machine
- It is self-explanatory, use
git clone
to clone your forked repo to your local machine.
3) Create a new branch
Quickly create a new branch in your clone, here are two ways to create a new branch:
git branch <branch_name>
git checkout -b <branch_name>
Both of them work just fine.
4) Make changes and Push
Make your changes, and commit them.
Push them to your forked repo on GitHub.
5) Create a PR
On your forked repo, click on "Pull Request" → "New Request".
Explain your changes in detail and submit.
If you need any help from me, feel free to reach out here on my Twitter account.