Skip to content

Instantly share code, notes, and snippets.

@retraut
Forked from vladimirtsyupko/gist:10964772
Created December 31, 2015 05:20
Show Gist options
  • Save retraut/05f405d6af6bece425b1 to your computer and use it in GitHub Desktop.
Save retraut/05f405d6af6bece425b1 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