Skip to content

Instantly share code, notes, and snippets.

@ashx3s
Last active March 6, 2023 18:53
Show Gist options
  • Save ashx3s/87b89a443c0d6da85a37be39fa9f2528 to your computer and use it in GitHub Desktop.
Save ashx3s/87b89a443c0d6da85a37be39fa9f2528 to your computer and use it in GitHub Desktop.
Pull Request Practice Steps

Practice Making a Pull Request

Merge code from one branch to another

Steps

  1. Open up a git repository
  2. Create a new branch: git checkout -b develop
  3. Change something in your code
  4. Commit and Push (as usual)
  5. Set your upstream git push --set-upstream origin develop
  6. Go to Github
  7. Open a Pull Request (either with the pop up or go to the pull request tab)
  8. Resolve conflicts (if they exist)
  9. Merge from develop to main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment