当我执行 ssh -v git@github.com
命令时,它可以正常通过身份验证。
然而,当我执行 git clone https://github.com/myusername/project.git
命令时,我遇到了以下错误:
Initialized empty Git repository in /home/webapps/myproject/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
我已经三次确认我输入的URL是正确的。另外,使用git://和http://协议都没有关系。有什么想法吗?