Last active
April 24, 2017 13:51
-
-
Save manojkulkarni30/43a043077da8b037ba744e9808f73b3b to your computer and use it in GitHub Desktop.
Syncing 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
1. git remote -v (List all the remote repositories) | |
2. git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git | |
3. git fetch upstream (Pull the change from upstream repository) | |
4. git checkout master (Checkout master branch on your local) | |
5. git merge upstream/master (Merge the change from upstream/master to local master branch) | |
6. git push (To push your local change to your fork github repository) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment