$ git clone -n https://gitee.com/src-anolis-os/spice-vdagent.git /var/lib/mock/dist-an8.7-build-181945-60089/root/chroot_tmpdir/scmroot/spice-vdagent Cloning into '/var/lib/mock/dist-an8.7-build-181945-60089/root/chroot_tmpdir/scmroot/spice-vdagent'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/spice-vdagent * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c763551 update to spice-vdagent-0.21.0-4.el9.src.rpm