Skip to content

Instantly share code, notes, and snippets.

@benwu232
Created August 6, 2014 15:39
Show Gist options
  • Save benwu232/54d39d52ac04cd4b04d3 to your computer and use it in GitHub Desktop.
Save benwu232/54d39d52ac04cd4b04d3 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