Created
November 11, 2015 02:04
-
-
Save thomastheyoung/86bf8b77ffb91e36ab74 to your computer and use it in GitHub Desktop.
When your git is stubborn and stuck with files that don't disappear (even with reset --hard), so you can't change branch: update git indexes so git knows those files didn't change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files -m | xargs -I {} git update-index --assume-unchanged {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment