$ git clone -n https://gitee.com/src-anolis-os/softhsm /var/lib/mock/module-idm-DL1-8080020230621081222-e55122db-build-277588-64424/root/chroot_tmpdir/scmroot/softhsm Cloning into '/var/lib/mock/module-idm-DL1-8080020230621081222-e55122db-build-277588-64424/root/chroot_tmpdir/scmroot/softhsm'... $ git fetch origin eb678bf4e6afcce62be099ca7b11568c546a9e9c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/softhsm * [new ref] eb678bf4e6afcce62be099ca7b11568c546a9e9c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eb678bf update to softhsm-2.6.0-5.module+el8.4.0+10227+076cd560.src.rpm