You have 2 remotes:
$ git remote add wouterj https://github.com/WouterJ/symfony-cmf-docs
$ git remote add origin https://github.com/symfony-cmf/symfony-cmf-docs
When you want to update your fork, checkout the branch to update:
$ git checkout master
Then fetch the origin:
$ git fetch origin
And merge the fetched branch:
$ git merge origin/master
Now, the branch master is up to date.
To create a new PR, create a new branch for that PR:
# be sure you are on master
$ git checkout master
# create and checkout a new branch, based on 'master'
$ git checkout -b my-new-awesome-pr
# push to fork
$ git push wouterj my-new-awesome-pr
And create the Pull Request on GitHub.
See: http://github.com/github/hub
You have 2 remotes:
$ hub remote add WouterJ
$ hub remote add symfony-cmf
$ hub remote rename WouterJ wouterj
$ hub remote rename symfony-cmf origin
When you want to update your fork, checkout the branch to update:
$ git checkout master
Then fetch the origin:
$ git fetch origin
And merge the fetched branch:
$ git merge origin/master
Now, the branch master is up to date.
To create a new PR, create a new branch for that PR:
# be sure you are on master
$ git checkout master
# create and checkout a new branch, based on 'master'
$ git checkout -b my-new-awesome-pr
# push to fork
$ git push wouterj my-new-awesome-pr
And create the Pull Request with hub:
$ hub pull-request
# opens a Vim editor with the PR title and description