$ git clone -n https://gitee.com/src-anolis-os/hwloc.git /var/lib/mock/dist-an23.3-build-416070-72865/root/chroot_tmpdir/scmroot/hwloc Cloning into '/var/lib/mock/dist-an23.3-build-416070-72865/root/chroot_tmpdir/scmroot/hwloc'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hwloc * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 493a071 update to 2.11.1-3