Skip to content

Instantly share code, notes, and snippets.

@zhooravell
Created March 31, 2020 13:34
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 zhooravell/9cf2402a64a8ee25c773eaf501ac655a to your computer and use it in GitHub Desktop.
Save zhooravell/9cf2402a64a8ee25c773eaf501ac655a to your computer and use it in GitHub Desktop.
Search Results Web results How do I force "git pull" to overwrite local files?
git fetch --all
git reset --hard origin/master
git pull origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment