Let's make our first Pull Request
Again, what is a Pull Request?
It simply means asking the project owner(or the maintainer) to merge/add your code to their main code.
In technical terms, Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.
Steps for making a pull request:
- Fork the repository in which you want to make some changes. You can for my Demo repository for the practice.
- Once you fork it, make the necessary changes like add a new file, edit some code,etc.
- After you successfully commit the files, you will something like this:
.png)
- Click on pull request, you can view the changes you made. If everything is correct, click on Create Pull Request.
- Then, just add a brief description about the changes for the maintainer to know. Finally, click on Create Pull Request.
Congratulations!!💐 You have made your first pull request. What are you waiting for? Explore, collab and contribute.
9
