mirror-web/help/_posts/1970-01-01-qemu.git.md
2022-07-02 22:25:43 +08:00

597 B

category layout mirrorid
help help qemu.git

QEMU Git 镜像使用帮助

如需克隆 QEMU 代码及其子模块,使用以下脚本(实验性功能)

curl https://{{ site.hostname }}/git/qemu/qemu.sh | bash

如仅需克隆 QEMU 代码,使用

git clone https://{{ site.hostname }}/git/qemu.git

若要将镜像站加入已有代码库,可在已有仓库中运行

git remote add tuna https://{{ site.hostname }}/git/qemu.git

或运行

git remote set-url origin https://{{ site.hostname }}/git/qemu.git

将默认上游设置为镜像站