Re: git-phoenix - repository recovery tool
- From
Daniil Iaitskov <dyaitskov@gmail.com>
- Date
- Jul 25, 2025, 21:50 UTC
- Message-ID
- <c392bcce-c845-4e28-98db-6acc6f5800fd@gmail.com>
- In-Reply-To
- <DB7PR02MB42650FA1779D5A3608949423B359A@DB7PR02MB4265.eurprd02.prod.outlook.com>
On 7/25/25 13:09, Skybuck Flying wrote:
Show 10 quoted lines
> ``` > Hi Daniil, > > I saw your message on the web about `git-phoenix`. > > > [ANN] git-phoenix - repository recovery tool > > I am curious how this accidental rm rf * typo happened on your system ? > > Could you tell us more about it ?
I am an active nix user and develop all my projects under nix-shell. The tool does amazing job for isolating builds, but /nix/store folder tend to grow and GC launch is required from time to time to reclaim disk space, but it causes lot of downloading later and/or rebuilding of dependencies.
Once I decided to remove unused projects instead to avoid the hustle above and was interleaving 'du -hs *' and 'rm -rf <some-dir-name-form-du-output>' using bash command history to type less. At some point after repetition I mechanically rewrote du command into rm but retained asterisk :(
Show 10 quoted lines
> > I guess the user/you was trying to remove a folder or so ? > > I am wondering if I should disable this rm command, but the AI seems to like it a lot ! > > Best regards, > Skybuck Flying. > > P.S.: This is an attempt to send a e-mail directly from windows 11 outlook to the mailing list/reply functionality, manually, wish this mail luck ! :D > ```