Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save phpedinei/6b2b380116744e2d53d27f0d63b43269 to your computer and use it in GitHub Desktop.

Select an option

Save phpedinei/6b2b380116744e2d53d27f0d63b43269 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