Skip to content

Instantly share code, notes, and snippets.

@jasonbrooks
Created February 23, 2017 16:00
Show Gist options
  • Save jasonbrooks/bfefbb067323373430a0277bdc5e4c7c to your computer and use it in GitHub Desktop.
Save jasonbrooks/bfefbb067323373430a0277bdc5e4c7c to your computer and use it in GitHub Desktop.
# cd into your fork of https://github.com/projectatomic/atomic-site
$ cd atomic-site
# a bit of setup to make sure you're synced w/ the upstream source
$ git remote add upstream https://github.com/projectatomic/atomic-site
$ git fetch upstream
# this will reset your fork's master to match the upstream master
$ git reset --hard upstream/master
$ git push origin master --force
# now create a new branch for your PR
$ git checkout -b pr-getting-started-fix
# now make your change
$ vi source/docs/gettingstarted.md
# now commit it and push
$ git add source/docs/gettingstarted.md
$ git commit -m "add line about centos kube"
$ git push --set-upstream origin pr-getting-started-fix
# then, up at github, you can resend your PR. To send a new PR, you can
$ git checkout master
$ git checkout -b PR-another
# etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment