My git files are 50% of the time corrupted for no reason. I have no idea why, and hope one of you knows how to solve this.
I currently have a External SSD (Samsung T5, connected via USB, being seen as SCSI device) formatted to exFAT. If I work on my laptop, do push and pull some things, then close GitHub and shutdown, 50% of the time, whenever I connect the SSD to my PC, the git files in the .git folder are corrupted.
I found out that this can be resolved by changing the drive's policy from Quick removal
to Better performance
, but that resolved in a problem that I cannot eject my drive, so that's a no-go.
As the git files are corrupt, I have no way to delete them other than CHKDSK F:\ /F
, which also removes some random files often, so that's also a no-go.
Anyone any idea how I can resolve this matter?