Skip to content

Instantly share code, notes, and snippets.

@hailiang-wang
Forked from glennblock/fork forced sync
Created October 5, 2021 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hailiang-wang/ad17868defc790c84d2e49826fbc6a3f to your computer and use it in GitHub Desktop.
Save hailiang-wang/ad17868defc790c84d2e49826fbc6a3f to your computer and use it in GitHub Desktop.
Force your forked repo to be the same as upstream.
git fetch upstream
git reset --hard upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment