Created
July 9, 2015 08:05
-
-
Save thinktainer/2488dacf3cda1b24f8ec to your computer and use it in GitHub Desktop.
git Restore files tracking in index
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 -v | awk '/^h/ {print $2}' | grep -v keep_ignoring | xargs git update-index --no-assume-unchanged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment