Skip to content

Instantly share code, notes, and snippets.

@snsinfu
Created March 29, 2021 14:46
Show Gist options
  • Select an option

  • Save snsinfu/9088a2590f83154927b768ee7c9533b5 to your computer and use it in GitHub Desktop.

Select an option

Save snsinfu/9088a2590f83154927b768ee7c9533b5 to your computer and use it in GitHub Desktop.
Sync forked git repository to upstream
# git clone git@github.com: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