Skip to content

Instantly share code, notes, and snippets.

@richard-to
Created February 21, 2021 02:22
Show Gist options
  • Save richard-to/546a17276dceb087b5a5a3662618dc0f to your computer and use it in GitHub Desktop.
Save richard-to/546a17276dceb087b5a5a3662618dc0f to your computer and use it in GitHub Desktop.
Git reset master to origin
git checkout -B master origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment