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

成功
在这里插入图片描述

posted on 2021-08-04 19:57  Tzk-  阅读(1571)  评论(0)    收藏  举报