GCC Git 镜像使用帮助

优质
小牛编辑
119浏览
2023-12-01

如需克隆 GCC 代码,使用

git clone https://mirrors.tuna.tsinghua.edu.cn/git/gcc.git

若要将 tuna mirror 加入已有代码库,可在已有仓库中运行

git remote add tuna https://mirrors.tuna.tsinghua.edu.cn/git/gcc.git

或运行

git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/gcc.git

将默认上游设置为 TUNA 镜像