Skip to content

Instantly share code, notes, and snippets.

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 mateusdeleon/9b8209275a87fb65516c53d36f52c5a8 to your computer and use it in GitHub Desktop.
Save mateusdeleon/9b8209275a87fb65516c53d36f52c5a8 to your computer and use it in GitHub Desktop.
Git force 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