Skip to content

Instantly share code, notes, and snippets.

@chadwick37
Created October 30, 2013 14:16
Show Gist options
  • Save chadwick37/7233409 to your computer and use it in GitHub Desktop.
Save chadwick37/7233409 to your computer and use it in GitHub Desktop.
Force git to overwrite local changes on git 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