Re: [RFC] Define "precious" attribute and support it in `git clean`
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Oct 10, 2023, 13:38 UTC
- Message-ID
- <98387b86-1732-42bc-9ac5-d64a6617b2db@app.fastmail.com>
- In-Reply-To
- <79901E6C-9839-4AB2-9360-9EBCA1AAE549@icloud.com>
Hi Sebastian
On Tue, Oct 10, 2023, at 14:37, Sebastian Thiel wrote:
> This highlights precious files by calling them out, but doesn't change the > behaviour of existing flags. Instead, the new flag `-p` is added which lets > `git clean` spare precious files.
Why can't `clean` preserve precious files by default? And then delete them as well with something like `--no-keep-precious`? Is there some backwards compatibility concern?