mirror-web/_posts/help/1970-01-01-gcc.git.md
2020-02-16 20:28:54 +08:00

473 B

category layout mirrorid
help help gcc.git

GCC Git 镜像使用帮助

如需克隆 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 镜像