Skip to content

Instantly share code, notes, and snippets.

@math0ne
Last active January 9, 2018 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save math0ne/0eaf3c99ae781a1a770451c88748da02 to your computer and use it in GitHub Desktop.
Save math0ne/0eaf3c99ae781a1a770451c88748da02 to your computer and use it in GitHub Desktop.
Ultra Simple Instructions on How to Create a Pull Request on Github
# 1. fork the repo in github to your personal account
# 2. make a working directory
mkdir working-fork
cd working-work
# 3. clone the your newly forked repo from step 1
git clone https://github.com/your-username/forked-repo.git .
# 4. create the branch where you changes will live
git checkout -b your-fork-name
# 5. make your changes for the pull request
# 6. commit your changes for the pull request
git commit -am "Descriptive commit message"
# 7. push your changes to your forked repo on the newly created branch
git push --set-upstream origin your-fork-name
# 8. create the pull request in github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment