Re: [PATCH] cmake: ignore generated files
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Sep 24, 2020, 09:19 UTC
- Message-ID
- <20200924091901.GA24954@szeder.dev>
- In-Reply-To
- <nycvar.QRO.7.76.6.2009231502430.5061@tvgsbejvaqbjf.bet>
On Wed, Sep 23, 2020 at 03:08:26PM +0200, Johannes Schindelin wrote:
> In any case, `git clean -dfx` strikes me as a perfectly acceptable > equivalent of `make clean` when no `make` is available, as is the case in > Visual Studio's case.
Not at all: 'make (dist)clean' only removes build artifacts and leaves untracked files intact, while 'git clean -dfx' removes untracked files as well, so using the latter instead of the former might easily lead to data loss.