git fetch --all
git reset --hard origin/master
git pull origin master
Created
January 27, 2017 16:26
-
-
Save hanvari/99f6e771ea6a9fe8e3ae1e649b195bcb to your computer and use it in GitHub Desktop.
Git overwrite local changes with remote version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment