$ git clone -n https://gitee.com/src-anolis-os/libetonyek.git /var/lib/mock/dist-an8.6-build-183847-60012/root/chroot_tmpdir/scmroot/libetonyek Cloning into '/var/lib/mock/dist-an8.6-build-183847-60012/root/chroot_tmpdir/scmroot/libetonyek'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libetonyek * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2e37e38 update to libetonyek-0.1.10-2.el9.src.rpm