Skip to content

Instantly share code, notes, and snippets.

@Yousha
Created January 22, 2019 20:29
Show Gist options
  • Save Yousha/7bf2d1f81578c72e2978391c57ad4f0a to your computer and use it in GitHub Desktop.
Save Yousha/7bf2d1f81578c72e2978391c57ad4f0a to your computer and use it in GitHub Desktop.
Update forked(origin) repository from upstream
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