繁体   English   中英

Windows上的Git:致命:无法从远程存储库读取

[英]Git on Windows: fatal: Could not read from remote repository

我正在尝试通过在提示符下使用此命令在Windows上使用Git

git ls-remote --tags --heads git://github.com/jquery/jquery.git

我收到此错误:

fatal: Could not read from remote repository.

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

我在Web上关注本教程 ,并且想知道正在发生什么(防火墙或其他任何事情)。

我对git不熟悉,所以将不胜感激。

我的公司防火墙已阻止git协议。 我将git更改为使用https协议,因此可以正常工作。

git config --global url."https://".insteadOf git://

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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