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