Skip to content

Instantly share code, notes, and snippets.

@ruyut
Created January 22, 2022 03:39
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 ruyut/8e2c2a1192454ea1126c09582d9bc795 to your computer and use it in GitHub Desktop.
Save ruyut/8e2c2a1192454ea1126c09582d9bc795 to your computer and use it in GitHub Desktop.
fork forced sync
git remote add upstream git@github.com:ruyut/ruyut.git
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment