git/list[1] front-page[2] threads[3] people[4] search[5] about
 

.gitignore don't ignore a file

From
BSBastien Sevajol <sevajol.bastien@gmail.com>
Date
Sep 10, 2011, 10:29 UTC
Message-ID
<4E6B3C19.4040908@gmail.com>

Hello ! I don't understand why my gitingnore don't want to ignore a file. I have this in my gitignore:

Show 8 quoted lines
> 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.
Next: Gustaf Hendeby
Message 1 of 2 in “.gitignore don't ignore a file”
  1. Bastien SevajolSep 10, 2011
  2. Gustaf HendebySep 10, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.