git ignore modified file code example Example: how to ignore modified file in git git update-index --assume-unchanged dir-im-removing/