How to merge a forked repository with GitHub

I recently forked this repository and after my first pull request I wanted to update my fork. Here is how to do it :

git clone
cd PicasaWebSync/
git remote add upstream git://
git fetch upstream
git merge upstream/master
git push

Published 25th Aug 2011 // #git

comments powered by Disqus