Created
June 5, 2019 14:01
-
-
Save MeikelLP/5adf804606ab9180e972b33d155c6916 to your computer and use it in GitHub Desktop.
When Git does not want to track your files
This file contains hidden or 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 | Where-Object { $_ -cmatch '^h' } | ForEach-Object { git update-index --no-assume-unchanged "$($_.replace('h ', ''))" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment