[Zlib-devel] configure script
Jonathan Nieder
jrnieder at gmail.com
Sat Sep 17 15:22:42 EDT 2011
Charles Wilson wrote:
> Yes, that too. However, if you leave zconf.h and Makefile in the
> repository, then ONLY adding them to .gitignore means that you can't
> modify them even if you want to -- unless you first /remove/ their name
> from .gitignore temporarily.
That's not how .gitignore works. gitignore files are useful for
avoiding accidentally tracking generated files, but once they are
tracked, .gitignore won't help you.
In other words, as the gitignore(5) manpage says: "Files already
tracked by git are not affected; see the NOTES below for details."
Hope that helps,
Jonathan
More information about the Zlib-devel
mailing list