$ git clone -n https://gitee.com/fundawang/openldap.git /var/lib/mock/dist-an23-build-291855-65044/root/chroot_tmpdir/scmroot/openldap Cloning into '/var/lib/mock/dist-an23-build-291855-65044/root/chroot_tmpdir/scmroot/openldap'... $ git fetch origin 8bec23188fca1734fd1cef6abfe349f72f94ae09:KOJI_FETCH_HEAD From https://gitee.com/fundawang/openldap * [new ref] 8bec23188fca1734fd1cef6abfe349f72f94ae09 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8bec231 2.6.6