Re: [BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files
- From
- 'Yuri' <yuri@rawbw.com>
- Date
- Jun 13, 2024, 09:21 UTC
- Message-ID
- <7fb83cd9-5a15-41d8-b047-c69e9026e4b2@rawbw.com>
- In-Reply-To
- <ZmqpQ4FkfXRm2jAE@lan>
On 6/13/24 01:09, Gabor Gombas wrote:
> $ git clean -df [there is no output - bingo] $ git clean -dfx warning: > failed to remove xx/.nfs[... long hex number...]: Device or resource busy
'git -dfx' does warn about the .nfsNNN files.
It turns out that my git repository has .nfs* files in the ignore list.
So it silently keeps these files with the -df flags.
Yuri