Skip to content

Instantly share code, notes, and snippets.

@myh-st
Forked from vladimirtsyupko/gist:10964772
Created September 10, 2020 07:01
Show Gist options
  • Save myh-st/55995751003e056bac939b10952c774d to your computer and use it in GitHub Desktop.
Save myh-st/55995751003e056bac939b10952c774d 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