$ git clone -n https://gitee.com/src-anolis-os/rasdaemon.git /var/lib/mock/dist-an8.7-build-180630-59436/root/chroot_tmpdir/scmroot/rasdaemon Cloning into '/var/lib/mock/dist-an8.7-build-180630-59436/root/chroot_tmpdir/scmroot/rasdaemon'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/rasdaemon * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 17e3316 update to rasdaemon-0.6.4-6.el9.src.rpm