$ git clone -n https://gitee.com/yan1hcdc/openldap.git /var/lib/mock/dist-an23-build-539975-84526/root/chroot_tmpdir/scmroot/openldap Cloning into '/var/lib/mock/dist-an23-build-539975-84526/root/chroot_tmpdir/scmroot/openldap'... $ git fetch origin 7b482b2948f33885a4c778618a430ce13cf028b9:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/openldap * [new ref] 7b482b2948f33885a4c778618a430ce13cf028b9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7b482b2 add patch to fix riscv build