#git bot interface
History of !assume_unchanged
- git update-index --assume-unchanged is sometimes suggested for keeping yourself from committing changes to a file, but it's actually a promise to Git that the file is identical to the committed version, to reduce unnecessary disk reads. Not only will Git feel free to discard the flag, it will also happily overwrite your changes whenever a checkout/merge/rebase/... updates it.
By jast at 2015-09-01 09:15:33
- git update-index --assume-unchanged is sometimes suggested for keeping yourself from committing changes to a file, but it's actually meant to tell Git that there are definitely no changes at all in the file, to reduce unnecessary disk access. Git will feel free to discard the flag or overwrite the file at any time it feels like it.
By jast at 2015-09-01 09:11:37
- git update-index --assume-unchanged is a promise to git you won't change a file. If you do change that file, you will make git cry.
By ikke at 2014-10-21 11:29:50