$ git clone -n https://gitee.com/src-anolis-os/createrepo_c.git /mnt/mock/kojid//dist-an23.3-riscv-build-436023-73130/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436023-73130/root/chroot_tmpdir/scmroot/createrepo_c'... $ git fetch origin aaa49a44d5ee8924834d910267d3ff3d2abac4f5:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/createrepo_c * [new ref] aaa49a44d5ee8924834d910267d3ff3d2abac4f5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aaa49a4 update to createrepo_c-1.1.2-1