* .gitignore don't ignore a file
@ 2011-09-10 10:29 Bastien Sevajol
2011-09-10 11:01 ` Gustaf Hendeby
0 siblings, 1 reply; 2+ messages in thread
From: Bastien Sevajol @ 2011-09-10 10:29 UTC (permalink / raw)
To: git
Hello !
I don't understand why my gitingnore don't want to ignore a file.
I have this in my gitignore:
> app/cache/
> app/logs/
> app/logs/dev.log
> app/logs/prog.log
> app/logs/test.log
> *.log
> *.*~
> nbproject
i've try with app/logs/.gitignore with this:
> dev.log
But, git don't ignore app/logs/dev.log :/
Do you now why ?
thank's =)
bux.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: .gitignore don't ignore a file
2011-09-10 10:29 .gitignore don't ignore a file Bastien Sevajol
@ 2011-09-10 11:01 ` Gustaf Hendeby
0 siblings, 0 replies; 2+ messages in thread
From: Gustaf Hendeby @ 2011-09-10 11:01 UTC (permalink / raw)
To: Bastien Sevajol; +Cc: git
Hi!
On 09/10/2011 12:29 PM, Bastien Sevajol wrote:
> Hello !
> I don't understand why my gitingnore don't want to ignore a file.
> I have this in my gitignore:
>
>> app/cache/
>> app/logs/
>> app/logs/dev.log
>> app/logs/prog.log
>> app/logs/test.log
>> *.log
>> *.*~
>> nbproject
>
> i've try with app/logs/.gitignore with this:
>
>> dev.log
>
> But, git don't ignore app/logs/dev.log :/
>
> Do you now why ?
> thank's =)
Is the file currently committed (or staged) to your repository? In that
case; Git never ignore files that are put under version control. If
not, could you please elaborate a bit more on in what way the file is
not ignored. It is not completely clear to me what you expect, and what
in fact happens.
/Gustaf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-10 11:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-10 10:29 .gitignore don't ignore a file Bastien Sevajol
2011-09-10 11:01 ` Gustaf Hendeby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).