iamnearlythere

Updating a Forked Project on Github

Ok, just noticed that a forked repository of mine wasn’t actually automatically updated by Github. Luckily enough, http://help.github.com/forking/ made the process pretty painless:

git clone my-repo-with-read+write-rights git remote add upstream original-repo-url git fetch upstream git merge upstream/master git push origin master

Next time I’ll just repeat git fetch upstream git merge upstream/master git push origin master