* Some files not ignored as they should be
@ 2019-04-17 9:18 Celestino, Federico
2019-04-18 19:07 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Celestino, Federico @ 2019-04-17 9:18 UTC (permalink / raw)
To: git@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]
Dear Support Team,
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 checked that there are no other .gitignore files except for the one in the main Git directory (that is attached here).
What is not working?
I thank you in advance.
Freundliche Grüße / Kind regards
i.A. Federico Celestino
Entwicklungsingenieur
Fon +49 2151 7830 324
Fax +49 2151 7830 499
www.xcmg-erc.com
Celestino@xcmg-erc.com
------------------------------------------------------------------------------------
XCMG European Research Center GmbH
Europark Fichtenhain B4
47807 Krefeld
Deutschland
Amtsgericht Krefeld
Handelsregister HRB 14302
Geschäftsführer: Dr.-Ing. Oliver-Carlos Göhler, Dr.-Ing. Hui Sun
------------------------------------------------------------------------------------
[-- Attachment #2: ATT57884.gitignore --]
[-- Type: application/octet-stream, Size: 367 bytes --]
*.aux
~*
*.o
*.d
*.obj
.xdchelp
**/Debug/*
!**/Debug/*.map
!**/Debug/*.hex
!**/Debug/*.bin
**/Release/*
!**/Release/*.map
!**/Release/*.hex
!**/Release/*.bin
.config/
.launches/
*.ldb
**/PSP/Platforms/Native/Hercules/projects/SIL2_MCUST_Hercules_Lib/TMS570LS3137/Modules/source/*.pp
**/PSP/Platforms/Native/Hercules/lib/SIL2_MCUST_TMS570LS3137.lib
[-- Attachment #3: GitIgnoreOutNotExcluded.PNG --]
[-- Type: image/png, Size: 18598 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Some files not ignored as they should be
2019-04-17 9:18 Some files not ignored as they should be Celestino, Federico
@ 2019-04-18 19:07 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2019-04-18 19:07 UTC (permalink / raw)
To: Celestino, Federico; +Cc: git@vger.kernel.org
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-18 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17 9:18 Some files not ignored as they should be Celestino, Federico
2019-04-18 19:07 ` Jeff King
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).