$ git clone -n https://gitee.com/yan1hcdc/openldap.git /mnt/mock/kojid//dist-an23.5-riscv-build-539956-84524/root/chroot_tmpdir/scmroot/openldap Cloning into '/mnt/mock/kojid//dist-an23.5-riscv-build-539956-84524/root/chroot_tmpdir/scmroot/openldap'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/openldap * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7fa8326 add patch to fix riscv build