$ git clone -n https://gitee.com/src-anolis-os/openldap.git /var/lib/mock//dist-an23.3-riscv64-gcc14-build-476499-74205/root/chroot_tmpdir/scmroot/openldap Cloning into '/var/lib/mock//dist-an23.3-riscv64-gcc14-build-476499-74205/root/chroot_tmpdir/scmroot/openldap'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/openldap * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a267f4a 2.6.5