Last active
April 5, 2016 23:24
-
-
Save wjlafrance/7c67028ca3196a0fce9c74cc4ddfddde to your computer and use it in GitHub Desktop.
Update github forks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clone forks into ~/dev/forks, add upstreams | |
$ cd ~/dev/forks | |
$ git clone [email protected]:wjlafrance/articles.git NSHipster-articles | |
$ cd NSHipster-articles | |
$ git remote add upstream [email protected]:NSHipster/articles.git | |
# Rebase origin/master on top of upstream/master | |
$ cd ~/dev/forks/NSHipster-articles | |
$ git fetch upstream | |
$ git checkout master | |
$ git rebase upstream/master | |
$ git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment