git update-index should do what you want
This will tell git you want to start ignoring the changes to the file
# git update-index --assume-unchanged path/to/file
When you want to start keeping track again
# git update-index --no-assume-unchanged path/to/file
Github Documentation: update-index
or
# git rm -r --cached path/to/file
Reference:
http://stackoverflow.com/questions/6964297/untrack-files-from-git
Sunday, January 3, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment