Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christopher-paul-shaw/a4e738d9fd8c4287d7069d7e8af4aa3e to your computer and use it in GitHub Desktop.
Save christopher-paul-shaw/a4e738d9fd8c4287d7069d7e8af4aa3e to your computer and use it in GitHub Desktop.
Reset and Sync local Repo with Remote

git fetch origin && git reset --hard origin/master && git clean -f -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment