Update your GitHub fork repo from its original repo

//the active directory in the prompt to the newly cloned "ProjectName" directory
$ cd ProjectName
//Assigns the original repo to a remote called "upstream"
$ git remote add upstream git:/ /
//Fetches any new changes from the original repo
$ git fetch upstream
//Merges any changes fetched into your working files
$ git merge upstream/master
Author:admin | Categories:Dev | Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Clickcha - The One-Click Captcha