git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gustaf Hendeby <hendeby@isy.liu.se>
To: Bastien Sevajol <sevajol.bastien@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: .gitignore don't ignore a file
Date: Sat, 10 Sep 2011 13:01:20 +0200	[thread overview]
Message-ID: <4E6B4380.4050009@isy.liu.se> (raw)
In-Reply-To: <4E6B3C19.4040908@gmail.com>

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

      reply	other threads:[~2011-09-10 11:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-10 10:29 .gitignore don't ignore a file Bastien Sevajol
2011-09-10 11:01 ` Gustaf Hendeby [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E6B4380.4050009@isy.liu.se \
    --to=hendeby@isy.liu.se \
    --cc=git@vger.kernel.org \
    --cc=sevajol.bastien@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).