Skip to content

Instantly share code, notes, and snippets.

@benzittlau
Created October 13, 2011 01:48
Show Gist options
  • Save benzittlau/1283135 to your computer and use it in GitHub Desktop.
Save benzittlau/1283135 to your computer and use it in GitHub Desktop.
Reset a local branch to exactly match a remote branch
macbook:al Ben$ git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment