Re: Some files not ignored as they should be

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux