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
成功