Can't access, delete, nor change the permissions of a cloned Github repo

36 Views Asked by At

I was trying some things with Git (complete beginner) and cloned my "SmartPiCar" repository with git clone. As nothing appeared in the file explorer even showing hidden files, I checked with "ls" and found a directory which I'm not able to access nor delete: "d------ SmartPiCar"

I've tried to delete it with Windows commands and it says I lack permissions. But after changing them with "icacls 'SmartPiCar' /grant[:r] Users:F", it says "Succesfully processed 1 files" but permissions don't change.

Trying to delete it with "git rm" gives me this message: "fatal: not a git repository (or any of the parent directories)"

More context: the cloning was successful & the repo is in a Drive folder with the files stored on Cloud only.

¿Does someone know what's the issue/how to solve it?

0

There are 0 best solutions below