linux centos7 “git clone https://github.com/XXXXX” 报错解决方法

2021-08-04

1. 问题描述

在执行以下命令时出现错误“正克隆到 'XXXXX'... fatal: unable to access 'https://github.com/lagerspetz/XXXXX/': Encountered end of file”

git clone https://github.com/lagerspetz/linux-stuff

 

2. 解决方法

将 “https” 修改成 “git” ,成功执行命令

git clone git://github.com/lagerspetz/linux-stuff

 

posted @ 2021-08-04 09:15  元月二一  阅读(1219)  评论(0)    收藏  举报