A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Jump to

Quick reference

Showing posts with label fork. Show all posts
Showing posts with label fork. Show all posts

Update your git fork from the upstream project

Once:
git remote add upstream https://github.com/otheruser/repo.git

Every time:
git fetch upstream
git checkout master # your fork
git merge upstream/master

# Do not do this if your repo has more than one user:
git reset --hard upstream/master
git push --force origin master

(source)