git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git clean removing tracked files semi-regularly

From
BCBrennan Conroy <brecon@microsoft.com>
Date
Aug 27, 2018, 19:06 UTC
Message-ID
<MWHPR21MB0701CD1D9653E82116E482ECD60B0@MWHPR21MB0701.namprd21.prod.outlook.com>
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!
Next: brian m. carlson
Message 1 of 4 in “Git clean removing tracked files semi-regularly”
  1. Brennan ConroyAug 27, 2018
  2. brian m. carlsonAug 28, 2018
  3. Brennan ConroyAug 28, 2018
  4. Derrick StoleeAug 28, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.