Skip to content

Instantly share code, notes, and snippets.

@gliesche
Created March 5, 2013 11:39
Show Gist options
  • Save gliesche/5089729 to your computer and use it in GitHub Desktop.
Save gliesche/5089729 to your computer and use it in GitHub Desktop.
Force an overwrite of local files on a 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