Drop Image
On GitHub, how do I make a Pull Request from my fork to the original repository?
-
First, navigate to your forked repository on GitHub.
-
Click on "New pull request". This is usually next to the Branch dropdown.
-
On the next page, click on "compare across forks" link. This would show the base fork and head fork dropdowns.
-
In the "base fork" dropdown, select the original repository you want to contribute to. It’s the one you forked initially.
-
In the "head fork" dropdown, select your forked repository.
-
Confirm that you are proposing to make changes from the branch in your fork to the master branch in the original repository.
-
Review your proposed changes. Make sure they are the ones you intend to submit for review.
-
When you are satisfied, click "Create Pull Request".
-
Give your pull request a title and explain why you are proposing the changes you are proposing.
-
When everything looks the way you want it to, click "Create pull request".
Please remember that the maintainers of the original repository will review your pull request. They may ask you to make changes, or they may accept your pull request as is. They also have the right to close your pull request without merging it.
Drop Image
On GitHub, how do I make a Pull Request from my fork to the original repository?
-
First, you need to ensure that you've forked and cloned the original repository and made the changes you want to propose.
-
Push your changes to your fork on GitHub.
-
Go to your fork on GitHub. Click the
New pull request
button located at the top of the page. -
You'll be directed to the original repository. Notice that GitHub will provide some information about the changes you're proposing to make. Make sure you're comparing your branch (the 'head repository') to the correct branch in the original repository (the 'base repository').
-
If everything looks good, click
Create pull request
. -
Give your pull request a title and describe your changes.
-
Click
Create pull request
button to finish creating the pull request.
Remember that only the maintainers of the original repository can accept your pull request. They may ask you to make some changes before they accept it. You can make additional changes by pushing to your fork on GitHub; your pull request will automatically be updated.