Skip to content

Instantly share code, notes, and snippets.

@snsinfu
Created March 29, 2021 14:46
Show Gist options
  • Save snsinfu/9088a2590f83154927b768ee7c9533b5 to your computer and use it in GitHub Desktop.
Save snsinfu/9088a2590f83154927b768ee7c9533b5 to your computer and use it in GitHub Desktop.
Sync forked git repository to upstream
# git clone [email protected]:example/fork.git
# git remote add upstream https://github.com/example/upstream.git
git pull upstream master
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment