mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
940 B
940 B
| category | layout | mirrorid |
|---|---|---|
| help | help | llvm |
LLVM Git Repos 镜像使用帮助
本镜像镜像了官方的以下仓库:
http://llvm.org/git/{llvm,clang,libcxx,lldb,clang-tools-extra,polly,zorg,compiler-rt,libcxxabi,lld,lnt}
若需要其他的仓库,可从 LLVM 官方 或者 GitHub 镜像 获取。 使用方法:
git clone https://{{ site.hostname }}/git/llvm/{reponame}.git
其中{reponame}为上述的仓库名称之一。请注意:由于仓库体积均较大,执行git clone可能需要较长时间,并且没有进度提示,请耐心等候。
若要将 TUNA mirror 加入已有代码库,可在已有仓库中运行
git remote add tuna https://{{ site.hostname }}/git/llvm/{reponame}.git
或运行
git remote set-url origin https://{{ site.hostname }}/git/llvm/{reponame}.git
将默认上游设置为 TUNA 镜像