前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >github国内加速代理访问

github国内加速代理访问

作者头像
用户1437675
发布2022-06-12 13:33:09
2.9K0
发布2022-06-12 13:33:09
举报
文章被收录于专栏:Angular&服务Angular&服务

注意:不支持 SSH Key 方式 git clone 下载.

git clone 公用仓库

命令

代码语言:javascript
复制
git clone https://mirror.ghproxy.com/https://github.com/stilleshan/ServerStatus

详解:git clone https://mirror.ghproxy.com/命令后面添加github 仓库地址即可。

git clone 私有仓库

命令

代码语言:javascript
复制
git clone https://user:your_token@ghproxy.com/https://github.com/your_name/your_private_repo

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

使用culr 或者 wget 下载文件或者执行脚本
代码语言:javascript
复制
wget https://mirror.ghproxy.com/https://github.com/stilleshan/ServerStatus/archive/master.zip

# githubusercontent
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/ServerStatus/master/Dockerfile

curl -O https://mirror.ghproxy.com/https://github.com/stilleshan/ServerStatus/archive/master.zip

# githubusercontent
curl -O https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/ServerStatus/master/Dockerfile

同上思路使用

docker 镜像代理

转换镜像地址
代码语言:javascript
复制
docker pull dockerproxy.com/mattrayner/lamp:latest

命令详解:docker pull dockerproxy.com/后面跟着docker镜像:后面使用镜像标签

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2022-06-08,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • git clone 公用仓库
  • git clone 私有仓库
  • 使用culr 或者 wget 下载文件或者执行脚本
  • docker 镜像代理
    • 转换镜像地址
    相关产品与服务
    容器镜像服务
    容器镜像服务(Tencent Container Registry,TCR)为您提供安全独享、高性能的容器镜像托管分发服务。您可同时在全球多个地域创建独享实例,以实现容器镜像的就近拉取,降低拉取时间,节约带宽成本。TCR 提供细颗粒度的权限管理及访问控制,保障您的数据安全。
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档