不需要更改ip地址之类的复杂操作,像安装各种包一样,使用镜像就可以了。但是有些镜像不能使用,或者更新了域名
比如
git clone https://github.com.cnpmjs.org/WongKinYiu/yolov7.git
git clone https://github.com.cnpmjs.org/仓库名/代码.git
或者
git clone https://git.sdut.me/仓库/代码.git
经过尝试以下为有效镜像
git clone https://gitclone.com/github.com/仓库/代码.git