linux上报错信息为 fatal: unable to access ‘https://github.com


linux上报错信息为 fatal: unable to access ‘https://github.com/happyfish100/fastdfs-nginx-module.git/’: Encountered end of file

当我在 linux上执行 下面这行命令的时候 。
git clone https://github.com/happyfish100/fastdfs-nginx-module.git --depth 1

系统会出现下面这个提示
fatal: unable to access ‘https://github.com/happyfish100/fastdfs-nginx-module.git/’: Encountered end of file

解决的办法

将命令中的 https改为 git 。即:将命令改为 git clone git://github.com/happyfish100/fastdfs-nginx-module.git --depth 1

成功
在这里插入图片描述


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM