简体   繁体   中英

Could not read from remote repository and does not appear to be a git repository erros

I have no experience with Git. I have to clone a shared folder that I have access to from K: drive into my local drive C:

However whenever I go to C:\\GitRepository in Git CMD and I write : git clone K:\\GitRepository\\Code I get this error :

fatal: 'K:\GitRepository\Code' does not appear to be a git repository
fatal: Could not read from remote repository
Please make sure you have the correct access rights and the repository exists

The repository exists, and all of my workmates were able to clone it into their C drive. I know this question have been asked a lot here, but I have tried all the suggested solutions and still I have the same problem.

You have to remove K:\\GitRepository\\Code and replace it by your URL remote repository. The full command is this:

cd K:\GitRepository\Code
git clone yourUrlDirection

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM