Created
August 27, 2022 22:46
-
-
Save irvingvjuarez/aab7086ad4ffd38089748f3a8783b1e2 to your computer and use it in GitHub Desktop.
How to fetch the latest version from a forked repo
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
#Once in your forked repo | |
$ cd PROJECT_NAME | |
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git | |
#If you already did the above step, just fun the following commands | |
$ git fetch upstream | |
$ git merge upstream/master master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment