Syncing a fork with git/github

Posted on Mon 16 June 2014 in Linux • Tagged with git, HowTo, Linux, github, notepad • 1 min read

Configure a remote

git remove -v
# git remote add  
git remote add upstream
git remove -v

Pull "upstream"

# git fetch 
git fetch upstream

Checkout the master

git checkout master

Merge "upstream" master to local master

# git merge /
git merge upstream/master

(optional) Delete old …

Continue reading