当前位置: 首页> 游戏> 评测 > 武汉网站公司制作_网页模板dw_十堰seo优化_网域名解析ip查询

武汉网站公司制作_网页模板dw_十堰seo优化_网域名解析ip查询

时间:2025/7/11 18:46:35来源:https://blog.csdn.net/qq_51116518/article/details/143605769 浏览次数:0次
武汉网站公司制作_网页模板dw_十堰seo优化_网域名解析ip查询

GitHub加速

文章目录

  • GitHub加速
  • 一、前言
  • 二、具体方法
    • 1、git clone
    • 2、git clone 私有仓库
    • 3、wget & curl

一、前言

在使用国内的服务器使用github的时候,偶尔会出现由于网络原因导致git clone或wget失败。在这里可以使用如下方法绕过。

二、具体方法

支持终端命令行 git clone , wget , curl 等工具下载.
支持 raw.githubusercontent.com , gist.github.com , gist.githubusercontent.com 文件下载.
注意:不支持 SSH Key 方式 git clone 下载.

1、git clone

git clone https://ghp.ci/目标仓库地址
示例如下:

git clone https://ghp.ci/https://github.com/stilleshan/dockerfiles

2、git clone 私有仓库

Clone 私有仓库需要用户在 Personal access tokens 申请 Token 配合使用.

git clone  https://user:your_token@ghp.ci/https://github.com/your_name/your_private_repo

3、wget & curl

wget https://ghp.ci/目标仓库地址
curl -O https://ghp.ci/目标仓库地址

wget https://ghp.ci/https://github.com/stilleshan/dockerfiles/archive/master.zip
wget https://ghp.ci/https://raw.githubusercontent.com/stilleshan/dockerfiles/main/README.md
curl -O https://ghp.ci/https://github.com/stilleshan/dockerfiles/archive/master.zip
curl -O https://ghp.ci/https://raw.githubusercontent.com/stilleshan/dockerfiles/main/README.md
关键字:武汉网站公司制作_网页模板dw_十堰seo优化_网域名解析ip查询

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: