$ git clone -n https://gitee.com/lzq11122/openldap.git /var/lib/mock/dist-an23-build-540007-84526/root/chroot_tmpdir/scmroot/openldap Cloning into '/var/lib/mock/dist-an23-build-540007-84526/root/chroot_tmpdir/scmroot/openldap'... $ git fetch origin 673be968f3efd2e3c5839a4484885b8744177ff9:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/openldap * [new ref] 673be968f3efd2e3c5839a4484885b8744177ff9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 673be96 Fix patch was not applied error