https://github.com/dotnetcore/FastGithub

https://ghproxy.com/

https://qu.js.cn/how-to-speed-github/

 

我们同样对 https://raw.githubusercontent.com/ 进行了代理,地址为 https://raw.fastgit.org/

 

免替换法

 
1
git config --global url."https://raw.fastgit.org".insteadOf https://raw.githubusercontent.com

git config --global url."https://hub.fastgit.org".insteadOf https://github.com

直接编辑 ~/.gitconfig 添加:

 
1
2
[url "https://hub.fastgit.org/"]
         insteadOf = https://github.com/

查看git配置信息

 
1
git config --global --list

取消设置

 
1
git config --global --unset url."https://hub.fastgit.org.insteadof"

 

 

 

相关文章:

  • 2021-06-25
  • 2022-12-23
  • 2021-04-16
  • 2022-02-09
  • 2022-12-23
  • 2021-06-10
猜你喜欢
  • 2021-10-03
  • 2022-12-23
  • 2022-01-26
相关资源
相似解决方案