Skip to content

Instantly share code, notes, and snippets.

@TGion
Last active August 28, 2023 13:26
Show Gist options
  • Save TGion/8e511cb08050fa1efbee313027c149b6 to your computer and use it in GitHub Desktop.
Save TGion/8e511cb08050fa1efbee313027c149b6 to your computer and use it in GitHub Desktop.
GIT pull request
# Create pull request for public repo (already forked)
git checkout -b new_branch
git remote add upstream URL_OF_FORK
# Make changes to FILE
git add FILE
git commit -S -m "Adding a FILE to new_branch"
git push -u origin new_branch
# Continue on github -> Compare & pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment