$ git clone -n https://gitee.com/src-anolis-os/librhsm.git /var/lib/mock/dist-an8.10-build-544171-86672/root/chroot_tmpdir/scmroot/librhsm Cloning into '/var/lib/mock/dist-an8.10-build-544171-86672/root/chroot_tmpdir/scmroot/librhsm'... $ git fetch origin 5fcc8a96977b3e0a1a0c3c3b024a8cd71fe77780:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/librhsm * [new ref] 5fcc8a96977b3e0a1a0c3c3b024a8cd71fe77780 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5fcc8a9 fix: librhsm — Replaced autospec-generated preprocessed spec and extraneous files with a proper portable RPM spec.