$ git clone -n https://src.fedoraproject.org/rpms/openldap.git /var/lib/mock/f40-build-786670-134489/root/chroot_tmpdir/scmroot/openldap Cloning into '/var/lib/mock/f40-build-786670-134489/root/chroot_tmpdir/scmroot/openldap'... $ git fetch origin dae8c83930ee9ba73dd3aa2c659cd044643b9360:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/openldap * [new ref] dae8c83930ee9ba73dd3aa2c659cd044643b9360 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dae8c83 Rebase to version 2.6.7