mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
help: qemu: add script for submodule
This commit is contained in:
parent
5c4007348c
commit
33e3a93aec
|
|
@ -6,13 +6,19 @@ mirrorid: qemu.git
|
|||
|
||||
## QEMU Git 镜像使用帮助
|
||||
|
||||
如需克隆 QEMU 代码,使用
|
||||
如需克隆 QEMU 代码及其子模块,使用以下脚本(实验性功能)
|
||||
|
||||
```
|
||||
curl https://{{ site.hostname }}/git/qemu/qemu.sh | bash
|
||||
```
|
||||
|
||||
如仅需克隆 QEMU 代码,使用
|
||||
|
||||
```
|
||||
git clone https://{{ site.hostname }}/git/qemu.git
|
||||
```
|
||||
|
||||
若要将 tuna mirror 加入已有代码库,可在已有仓库中运行
|
||||
若要将镜像站加入已有代码库,可在已有仓库中运行
|
||||
|
||||
```
|
||||
git remote add tuna https://{{ site.hostname }}/git/qemu.git
|
||||
|
|
@ -24,4 +30,4 @@ git remote add tuna https://{{ site.hostname }}/git/qemu.git
|
|||
git remote set-url origin https://{{ site.hostname }}/git/qemu.git
|
||||
```
|
||||
|
||||
将默认上游设置为 TUNA 镜像
|
||||
将默认上游设置为镜像站
|
||||
|
|
|
|||
Loading…
Reference in New Issue