Git fetch upstream changes
09 Jan 2013I have been trying to contribute where I can w/ the AngularJS project. The workflow is very well documented here.
As documented in this post, you first need to create a remote known as ‘upstream’:
git remote add upstream git://github.com/user/repo.git
Then run these commands to get the latest for master and upstream and merge into the current branch:
git fetch origin -v;
git fetch upstream -v;
git merge upstream/master
The original post has a handy tip to put this in an alias.