Git Ignore Changes To File

[Solved] Git Ignore Changes To File | Shell - Code Explorer | yomemimo.com
Question : git ignore changes to file

Answered by : tiago-frana

git update-index --assume-unchanged [<file> ...]
## To undo and start tracking again (if you forgot what files were untracked):
git update-index --no-assume-unchanged [<file> ...]

Source : https://stackoverflow.com/questions/3319479/can-i-git-commit-a-file-and-ignore-its-content-changes/43535767 | Last Update : Sun, 07 Nov 21

Answers related to git ignore changes to file

Code Explorer Popular Question For Shell