WSAGAScript icon indicating copy to clipboard operation
WSAGAScript copied to clipboard

git clone failing (with solution)

Open MarioMasta64 opened this issue 3 years ago • 2 comments

if you get this error:

Cloning into 'WSAGAScript'...
error: chmod on /mnt/c/WSA/WSAGAScript/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'

run these commands: sudo umount /mnt/c sudo mount -t drvfs C: /mnt/c -o metadata

MarioMasta64 avatar Feb 02 '22 21:02 MarioMasta64

just running the same command as root ( sudo git clone https://github.com/WSA-Community/WSAGAScript ) worked for me

bsszzt avatar Feb 14 '22 20:02 bsszzt

Why do we have to unmount the directory we tried cloning the repository into?

NeoMachaba avatar Feb 29 '24 13:02 NeoMachaba