Re: refining .gitignores

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Thursday, November 15, 2007 - 1:40 pm

On Thu, 15 Nov 2007, Bruce Stephens wrote:

Ahh.

*All* the .gitignore rules are purely about files that git does not 
already know about. Once git tracks a pathname, the ignore rules simply 
do not matter.

Files that are in the index are simply never ignored. There's no way to 
ignore them, and in fact, the whole "git add -f" thing is a way to add 
files to the index and override the exclude rules - at which point git 
then tracks them regardless of any such exclude rules.

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
refining .gitignores, Bruce Stephens, (Wed Nov 14, 3:36 pm)
Re: refining .gitignores, Alex Riesen, (Wed Nov 14, 4:02 pm)
Re: refining .gitignores, Bruce Stephens, (Thu Nov 15, 4:39 am)
Re: refining .gitignores, Alex Riesen, (Thu Nov 15, 12:26 pm)
Re: refining .gitignores, Bruce Stephens, (Thu Nov 15, 1:28 pm)
Re: refining .gitignores, Linus Torvalds, (Thu Nov 15, 1:40 pm)
Re: refining .gitignores, Bruce Stephens, (Thu Nov 15, 2:13 pm)
Re: refining .gitignores, Alex Riesen, (Thu Nov 15, 2:17 pm)
Re: refining .gitignores, Linus Torvalds, (Thu Nov 15, 2:56 pm)