Skip to content

如何利用gh-proxy公共代理站进行加速下载 #2

Description

@axlrose

有别于 https_proxy的加速

export https_proxy=http://your-proxy:8080
ghdeb install LeisureLinux/ghdeb

通过公共加速站点来加速

git clone https://github.com/LeisureLinux/ghdeb.git
替换成
git clone https://gh-proxy.com/https://github.com/LeisureLinux/ghdeb.git

wget https://github.com/LeisureLinux/ghdeb/releases/download/v0.7.53/ghdeb_0.7.53_amd64.deb

# 换成

wget https://gh-proxy.com/https://github.com/LeisureLinux/ghdeb/releases/download/v0.7.53/ghdeb_0.7.53_amd64.deb

类似的公共加速度挺多的,参否考虑添加一些传变量或改配置的方式来使用公共加速站点,
如 GITHUB_PROXY=https://gh-proxy.com ghdeb install 或者 ~/.config/ghdeb/config.json 里配置

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions