Skip to content

Instantly share code, notes, and snippets.

@duyet
Forked from vladimirtsyupko/gist:10964772
Last active August 29, 2015 14:18
Show Gist options
  • Save duyet/0609cba218c9bb86652b to your computer and use it in GitHub Desktop.
Save duyet/0609cba218c9bb86652b 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