Skip to content

Instantly share code, notes, and snippets.

@tetra5
Created August 7, 2013 10:46
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 tetra5/6173022 to your computer and use it in GitHub Desktop.
Save tetra5/6173022 to your computer and use it in GitHub Desktop.
Force git to overwrite local files on pull
git fetch --all
git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment