On Sat, Apr 12, 2014 at 7:29 AM, Frank Ammeter <> wrote:
> I don’t see that argument.
> I don’t know why at the time of a commit git should read unstaged files from 
> my working tree - that affect my commit.

.gitignore works the exact same way. If you modify .gitignore then git
status will immediately reflect those changes. You don't even have to
store either file in the repository (.gitignore or .gitattributes).
That is for your benefit, and for easily sharing that configuration
with collaborators. Git only cares that the file exists in your
working tree at run-time.


Brandon McCaig <> <>
Castopulence Software <>
Blog <>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to