Adding upstream reference to your forked project
Monday 19, December 2011

Github allows you to fork an existing project. This is very interesting for collaborative work. You can write your our code based on an original one without do it from scratch. Usually, you're going to push/pull from/to your repo. However, the original repo. will have changes so you can add those updates to your fork by running the following commands:

$ git fetch upstream
$ git merge upstream/master
tags: git

Tags

Buy me a coffee!! Coffee cup

Advertisment