各位 Arch Linux 大佬进来下,这个 git clone aur 仓库怎么加速,好慢啊,而且国内机器好容易报错

查看 88|回复 7
作者:fdghjk   
https://file.uhsea.com/2311/0e80ffd0e9d80a7c006f9b6165fe1b8f5V.png

git, aur, clone, Arch

fdghjk
OP
  
正文不让发 只能发截图了
a632079   
你这个不是和配置 Github 的 Git proxy 一个思路么?
a632079   
.gitconfig 里
[http "https://github.com"]
proxy = socks5://127.0.0.1:1086
dmtsd   
export https_proxy=http://127.0.0.1:7890
proxy 自己想办法
Pylogmon   
git config --global https.proxy http://127.0.0.1:7890
pagxir   
难道你上 V2EX 不是翻出来的?可以用 cf 的 CDN 的, 比如 git clone https://cdn.855899.xyz/surfing.https/aur.archlinux.org/yay.git
zuotun   
为什么不发到 Linux 版块?
export all_proxy=http://127.0.0.1:7890 (默认端口是 1080)
不要想着什么镜像加速了, 既然是 Arch 那就默认是自用设备, 这是最简单的.
此外, pacman 和 yay 都可以使用 Arch Linux 的镜像源啊, 去看看这里 /etc/pacman.d/mirrorlist
您需要登录后才可以回帖 登录 | 立即注册

返回顶部