Skip to content

Instantly share code, notes, and snippets.

@mathieutu
Forked from vladimirtsyupko/gist:10964772
Last active November 21, 2017 15:08
Show Gist options
  • Save mathieutu/eeb0fca688fd602b799a789e2179db33 to your computer and use it in GitHub Desktop.
Save mathieutu/eeb0fca688fd602b799a789e2179db33 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