Created
August 30, 2016 07:51
-
-
Save SubZane/1579ad7572de836189c5c2d320ba9d2d to your computer and use it in GitHub Desktop.
update a fork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check out the branch you wish to merge to. Usually, you will merge into master. | |
git checkout master | |
// Pull the desired branch from the upstream repository. This method will retain the commit history without modification. | |
git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment