Skip to content

Instantly share code, notes, and snippets.

@wyukawa
Created May 2, 2013 11:31
Show Gist options
  • Select an option

  • Save wyukawa/5501630 to your computer and use it in GitHub Desktop.

Select an option

Save wyukawa/5501630 to your computer and use it in GitHub Desktop.
how to process pull request
fork
$ git clone git@github.com:wyukawa2/ea_sports_ppi.git
$ git checkout -b ruport origin/master
vim
$ git commit -am "..."
$ git push origin ruport
pull request
$ git remote add wyukawa2 https://github.com/wyukawa2/ea_sports_ppi
$ git branch -r
origin/HEAD -> origin/master
origin/gh-pages
origin/master
$ git fetch wyukawa2
$ git branch -r
origin/HEAD -> origin/master
origin/gh-pages
origin/master
wyukawa2/gh-pages
wyukawa2/master
wyukawa2/ruport
$ git checkout -b pr1
Switched to a new branch 'pr1'
$ git merge wyukawa2/ruport
$ git checkout master
$ git merge pr1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment