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

Re: git clean ignore

From
D. Ben Knoble <ben.knoble@gmail.com>
Date
Feb 8, 2026, 02:28 UTC
Message-ID
<CALnO6CAS5bpxDuqZ1Tf=SeY5Z6JpRpm1vbPCUtnyj6AsNqGJ8Q@mail.gmail.com>
In-Reply-To
<CADjtP1FSAQZRyBCjPZ00Y2g=fdtRZWHP44XLqjor-OrYXAN-vw@mail.gmail.com>
On Sat, Feb 7, 2026 at 9:53 AM Sylvain Rabot <sylvain@abstraction.fr> wrote:
>
> Hi,
>
> I'm a big user of git clean -fdx which is the shortest path to a clean worktree.
If you can't drop -x for some reason, consider "git worktree add" ?
-- 
D. Ben Knoble
Previous: Kristoffer Haugsbakk
Message 3 of 3 in “git clean ignore”
  1. Sylvain RabotFeb 7, 2026
  2. Kristoffer HaugsbakkFeb 7, 2026
  3. D. Ben KnobleFeb 8, 2026

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.