All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: "Celestino, Federico" <Celestino@xcmg-erc.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Some files not ignored as they should be
Date: Thu, 18 Apr 2019 15:07:51 -0400	[thread overview]
Message-ID: <20190418190751.GB12260@sigill.intra.peff.net> (raw)
In-Reply-To: <4343deda23de48c981c91c4e9c8b0c88@SRV-ERC-MAIL01.XCMG-ERC.LOCAL>

On Wed, Apr 17, 2019 at 09:18:23AM +0000, Celestino, Federico wrote:

> I am facing another issue with Git.
> Please find attached the .gitignore file that I am currently using.
> My intention is to ignore all the files inside any Debug folder,
> except for .map, .hex and .bin files.
> Yet, a .out file is not ignored, as shown in the second attachment.

I don't see anything obviously wrong in your .gitignore, and I couldn't
reproduce your problem with a simple attempt[1]. However, note that
files which are already tracked in the repository will not be ignored
(nor will they be listed by check-ignore). Is it possible that the file
in question is already in the index (try grepping the output of "git
ls-files")?

-Peff

[1] Please consider cutting-and-pasting from the terminal instead of
    attaching a screenshot. It's much easier to read, and allows people
    to try to reproduce the issue without re-typing that horrifically
    long filename.

      reply	other threads:[~2019-04-18 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-17  9:18 Some files not ignored as they should be Celestino, Federico
2019-04-18 19:07 ` Jeff King [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=20190418190751.GB12260@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=Celestino@xcmg-erc.com \
    --cc=git@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.