From: Kristoffer Haugsbakk Date: Sat, 07 Feb 2026 15:00:00 GMT Subject: Re: git clean ignore Message-ID: In-Reply-To: On Sat, Feb 7, 2026, at 15:53, Sylvain Rabot wrote: > Hi, > > I'm a big user of git clean -fdx which is the shortest path to a clean worktree. > > However, I repeatedly found myself deleting precious git ignored > resources such as editor/debug configurations so I asked myself if the > git ignore mechanism could be applied to git clean so that we can > declare a list of patterns git clean should never remove. >[snip] Related: https://lore.kernel.org/git/pull.1627.git.1703643931314.gitgitgadget@gmail.com/T/#u