How to pull request on github


My notes on how to make a Pull request’s on github

Github fork pull-request:

This type of pull-request is more common when you contribute to repos that you are not already a collaborator of.

  1. find repo you want to make a PR for.
  2. click the fork button.
  3. pick where you want to fork. your personal account or org account etc.
  4. edit your fork.
  5. hit the make Pull Request button
  6. Go through the PR wizard.

Github branch pull-request

This type of pull-request is more common when you are the author or a team-member of the repo in question.

  1. Clone the repo you want to make a PR for Github desktop or Terminal)
  2. Make your file changes that you want to include in the PR
  3. Create a new branch Github desktop or Terminal) name it add-readme or alike
  4. Commit your file changes. Add readme
  5. publish and push commit to origin Github desktop or Terminal)
  6. in the repo main page on github you will now find a button that says make pull-request
  7. Click Make PR, Click Squash PR, if you want simple GIT history. Add a reviewer and your ✅.

PRO-TIP: