解决服务器git clone拉取git代码速度慢问题

说明:

github服务器在国外,所以拉取代码会慢很多,通过国内镜像方法解决拉取慢的问题。

解决:

一.使用镜像

//原始clone
git clone https://github.com/pppp/django.git
//镜像clone
git clone https://github.com.cnpmjs.org/pppp/django.git
git clone https://git.sdut.me/pppp/django.git

二.将github的项目搬迁至国内码云等平台再拉取。

猜你喜欢

转载自blog.csdn.net/weixin_44053341/article/details/113886395
今日推荐