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

Re: .gitignore does not ignore Makefile

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 22, 2016, 19:16 UTC
Message-ID
<xmqqtwd74ue8.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<57E4267B.1050507@codeaurora.org>
Timur Tabi <timur@codeaurora.org> writes:
> So .gitignore only ignores new files, not modified ones?

It is determines if an untracked file should be considered by "git add" to add it or ignore it.

Previous: Timur TabiNext: Jakub Narębski
Message 5 of 6 in “.gitignore does not ignore Makefile”
  1. Timur TabiSep 22, 2016
  2. Kevin DaudtSep 22, 2016
  3. Junio C HamanoSep 22, 2016
  4. Timur TabiSep 22, 2016
  5. Junio C HamanoSep 22, 2016
  6. Jakub NarębskiSep 23, 2016

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.