WSAGAScript
WSAGAScript copied to clipboard
git clone failing (with solution)
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
just running the same command as root ( sudo git clone https://github.com/WSA-Community/WSAGAScript ) worked for me
Why do we have to unmount the directory we tried cloning the repository into?