$ git clone -n https://gitee.com/src-anolis-os/fabtests /var/lib/mock/dist-an8.7-build-187391-60686/root/chroot_tmpdir/scmroot/fabtests Cloning into '/var/lib/mock/dist-an8.7-build-187391-60686/root/chroot_tmpdir/scmroot/fabtests'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/fabtests * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d8e13d5 update to fabtests-1.15.1-1.el9.src.rpm