Am 7/29/2011 14:19, schrieb Jakub Narebski: > For that you can use 'assume-unachanged' mechanism (note: it is local > to repository). The gitignore(7) manpage says: > > NOTES > The purpose of gitignore files is to ensure that certain files not tracked > by git remain untracked. > > To ignore uncommitted changes in a file that is already tracked, use > `git update-index --assume-unchanged <file>`. This statement in our documentation is *wrong*!! Please do not suggest it for cases like the OP's! See the discussion of assume-unchanged in git-update-index: This bit actually means that git may assume that the file was not changed, and it can take the worktree's data when it otherwise would have to unpack the index's data. IOW, using it for the purposes that the OP would need is *dangerous*. -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html