Forked from
R3 / school / courses
-
Laurent Heirendt authoredLaurent Heirendt authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
syncFork.md 881 B
Synchronize your fork
Remember, we have to regularly update our own copy of the code.
Add the upstream
address (original/protected repository)
$ git remote add upstream git@github.com:LCSB-BioCore/basic-git-practice.git
You can then check whether the remote address is set correctly
$ git remote -v
Fetch the changes from upstream (similar to pull)
$ git fetch upstream
Merge the retrieved changes on the master
branch:
$ git checkout master
$ git merge upstream/master
$ git push origin master