Created
July 6, 2017 15:02
-
-
Save vochicong/6fdfe7b9d25955518bc077d7f4fdfeb7 to your computer and use it in GitHub Desktop.
Sync a fork of a repository to keep it up-to-date with the upstream repository.
This file contains hidden or 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
# Sync a fork of a repository to keep it up-to-date with the upstream repository. | |
# https://help.github.com/articles/syncing-a-fork/ | |
git fetch upstream | |
git checkout master | |
git merge upstream/master | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment