Can I Git Commit A File And Ignore Its Content

[Solved] Can I Git Commit A File And Ignore Its Content | Shell - Code Explorer | yomemimo.com
Question : Can I 'git commit' a file and ignore its content changes?

Answered by : tiago-frana

git update-index --assume-unchanged [<file> ...]
git update-index --no-assume-unchanged [<file> ...]

Source : https://stackoverflow.com/a/3320183/11716408 | Last Update : Wed, 02 Feb 22

Answers related to can i git commit a file and ignore its content changes

Code Explorer Popular Question For Shell