Skip to content

Instantly share code, notes, and snippets.

@marti1125
Created July 1, 2013 03:36
Show Gist options
  • Save marti1125/5898206 to your computer and use it in GitHub Desktop.
Save marti1125/5898206 to your computer and use it in GitHub Desktop.
Force git to overwrite local files on pull
git reset --hard HEAD
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment