I'm using windows. Have had it happen on 8.1 and 10.

"git status" shows "nothing to commit, working tree clean". I am using git 
version 2.17.1.windows.2

-----Original Message-----
From: brian m. carlson <sand...@crustytoothpaste.net> 
Sent: Monday, August 27, 2018 5:58 PM
To: Brennan Conroy <bre...@microsoft.com>
Cc: git@vger.kernel.org
Subject: Re: Git clean removing tracked files semi-regularly

On Mon, Aug 27, 2018 at 07:06:59PM +0000, Brennan Conroy wrote:
> Hello, I work on a project that uses git. "git clean -xdf" is a common 
> command to run to clean up the environment, however sometimes this 
> command deletes the entire contents of two of the folders and all the 
> files it deletes are being tracked which according to the 
> documentation should not be deleted.
> 
> The project is located at https://github.com/aspnet/SignalR and the 
> two folders it likes to delete are 
> https://github.com/aspnet/SignalR/tree/release/2.2/clients/ts/signalr-
> protocol-msgpack and 
> https://github.com/aspnet/SignalR/tree/release/2.2/clients/ts/signalr
> 
> If you need me to collect git logs etc. please don't hesitate to ask!

It would be helpful to know more about your environment.  Is this only 
reproducible on certain operating systems (e.g. case-insensitive ones)?
What version of Git are you using?  What does "git status" say before you run 
git clean?
--
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

Reply via email to