News for hackers. Stuff that matters.
Re:WSL2 corrupting Git repositories and shell history by searchableguy on Saturday January 02, 2021 @05:59PM (#25617440)
Tip: Add a separate SSD and format it as ext4. Mount it to wsl2 and do all your work there.

https://docs.microsoft.com/en-us/windows/wsl/wsl2-mount-disk

Currently, the mount is not automatic so you can make a startup.ps script and run it on start through group policy.

Re:WSL2 corrupting Git repositories and shell history by gavinray on Saturday January 02, 2021 @06:16PM (#25617581)
Ah this is a great tip, I will have to try this one -- thank you!
Re:WSL2 corrupting Git repositories and shell history by qwantim1 on Saturday January 02, 2021 @09:21PM (#25618744)
It may be a great tip but Windows users shouldn’t have to do this. Microsoft needs to fix their shit.