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

Re: why does "man git-clean" not mention files ignored by core.excludesFile?

From
Junio C Hamano <gitster@pobox.com>
Date
May 22, 2018, 02:50 UTC
Message-ID
<xmqq603gz9nq.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<alpine.LFD.2.21.1805211221180.18665@localhost.localdomain>
"Robert P. J. Day" <rpjday@crashcourse.ca> writes:
>   why is there no mention of files ignored via a user's
> core.excludesFile configuration?

IIUC, core.excludesFile is a much much later invention made long after everybody lost interest in updating "git clean", let alone its documentation. The support for the configuration variable was added to the internal API used to access exclude mechanism, so "clean", together with other users of the same API, got it for free when it was added, and nobody bothered to update the documentation of "clean".

In other words, a short answer is because you haven't made it to mention it ;-).

Previous: Robert P. J. Day
Message 2 of 2 in “why does "man git-clean" not mention files ignored by core.excludesFile?”
  1. Robert P. J. DayMay 21, 2018
  2. Junio C HamanoMay 22, 2018

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.