Created
April 28, 2014 14:14
-
-
Save caiovaccaro/11373422 to your computer and use it in GitHub Desktop.
git-assume-unchanged
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 update-index --assume-unchanged file.extension |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If .gitignore is deleting repo files use assume unchanged. To check if git is "ignoring the file" use:
git ls-files -v|grep '^h'