Tuesday, August 25, 2015

Ignore changes in tracked files using GIT





Use:
git update-index --assume-unchanged <file>

To ignore changes in tracked files.


Use:
git update-index --no-assume-unchanged <file>

If you want to check in changes in those tracked files.



No comments:

Post a Comment