-
Fork a repo on github
-
Git clone the forked version
-
Set the remotes (origin and upstream)
git remote set-url origin [[email protected]:vikram7/guides.git] (forked git url)
git remote add upstream [[email protected]:emberjs/guides.git] (base git url)
Syncing
git fetch upstream
git checkout master
git merge upstream/master
Push up to forked version
git push origin master