Created
January 22, 2019 20:29
-
-
Save Yousha/7bf2d1f81578c72e2978391c57ad4f0a to your computer and use it in GitHub Desktop.
Update forked(origin) repository from upstream
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
git clone [email protected]:myusername/myforkedrepo.git | |
git remote add upstream git://github.com/targetusername/targetrepo.git | |
git fetch upstream | |
git pull upstream master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment