Hint that Git should skip stat checks for a path.
Section: Trees and Index Plumbing
Mark file assume-unchanged
bash
bash
git update-index --assume-unchanged path/to/fileLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Trees and Index Plumbing