Skip to content

Instantly share code, notes, and snippets.

@mikeraynham
Last active August 29, 2015 14:23
Show Gist options
  • Save mikeraynham/d95651b207d240ff3822 to your computer and use it in GitHub Desktop.
Save mikeraynham/d95651b207d240ff3822 to your computer and use it in GitHub Desktop.
Create a GitHub pull request
  • Go to the GitHub page of the repo for which you want to create a pull request.
  • Click Fork to create your own fork of the repository.
  • Go to the GitHub page of your fork of the repository.
  • Copy the Git clone URL.
  • Clone the repo on your machine, e.g.:
git clone git@github.com:mikeraynham/puppet-supervisord.git
  • Create a branch for your changes, and start hacking away:
git co -b my_amazing_bug_fix
  • Complete your masterpiece, and then push your branch to your GitHub fork:
git push origin my_amazing_bug_fix
  • Go to or refresh your GitHub fork page. You should see that your new branch has been created.
  • Go to your branches page (branches > yours).
  • Click on the New pull request button.
  • Ensure that the comment field contains a good description of your proposed changes.
  • Click Create pull request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment