nauxliu / opencc4php

简繁体转换 PHP 扩展
MIT License
458 stars 85 forks source link

fatal: Could not read from remote repository. #59

Closed luoben4040 closed 4 months ago

luoben4040 commented 11 months ago

Cloning into 'opencc4php'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Zola commented 4 months ago

some situations

git clone git@github.com:NauxLiu/opencc4php.git --depth 1

Cloning into 'opencc4php'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

add ssh agent failed too

# git clone git@github.com:NauxLiu/opencc4php.git --depth 1 fatal: destination path 'opencc4php' already exists and is not an empty directory.

can anyone help?

nauxliu commented 4 months ago

This might related to that I changed my GitHub name, I just updated the README.md to reflect it.

@Zola

fatal: destination path 'opencc4php' already exists and is not an empty directory.

As for this issue, just the message pointed out, the project is already cloned to your computer. Anyway, you could delete the old folder and try again.