Skip to content

Instantly share code, notes, and snippets.

@ludoo0d0a
Created May 1, 2015 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ludoo0d0a/c0287fb7d5bcccf24cee to your computer and use it in GitHub Desktop.
Save ludoo0d0a/c0287fb7d5bcccf24cee to your computer and use it in GitHub Desktop.
Git Resync on remote - Local changes lost
git stash --include-untracked
git pull
@ludoo0d0a
Copy link
Author

//or this one ?
git fetch --all
git reset --hard origin/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment