forked from 360giays/odm-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Sync a Fork Repository
S-mardii edited this page Jul 12, 2016
·
1 revision
step 1 Open Git Shell
step 2 View current configured remotes for your fork:
git remote -v
step 3 Add a new remote from upstream:
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPO.git
step 4 Verify the new upstream remote:
git remote -v
(get the upstrem link from: Clone with HTTPS in the upstream repo)
More details: here
step 5 Get all changes on upstream to your fork:
git fetch upstream
step 6 Switch to master branch of your fork:
git checkout master
step 7 Merge changes from upstream to your fork:
git merge upstream/master