$ git clone -n https://gitee.com/src-anolis-os/libkcapi.git /mnt/mock/kojid//dist-an23.3-riscv-build-437320-73130/root/chroot_tmpdir/scmroot/libkcapi Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437320-73130/root/chroot_tmpdir/scmroot/libkcapi'... $ git fetch origin a55c6b30155e90f34111c9506cfe183f2a0d19b6:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libkcapi * [new ref] a55c6b30155e90f34111c9506cfe183f2a0d19b6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a55c6b3 Optimize spec file