代理

March 13, 2025 · View on GitHub

English | 中文

require('one').setup {
  config = {
    proxy = {
      -- 如果你在中国大陆,推荐使用 'https://gh-proxy.com'。否则,不要设置该配置项。
      github = 'https://gh-proxy.com',
    },
  },
}

有些插件使用了 git submodule,代理无法起作用。建议你执行 git config --global http.https://github.com.proxy https://gh-proxy.com 设置全局代理。