$ git clone -n https://gitee.com/opencloudos-stream/qemu.git /var/lib/mock/dist-ocs23-build-7762-37/root/chroot_tmpdir/scmroot/qemu Cloning into '/var/lib/mock/dist-ocs23-build-7762-37/root/chroot_tmpdir/scmroot/qemu'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/qemu * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2a1812e update