$ git clone -n https://src.fedoraproject.org/rpms/dovecot.git /var/lib/mock/f41-build-1072467-19725/root/chroot_tmpdir/scmroot/dovecot Cloning into '/var/lib/mock/f41-build-1072467-19725/root/chroot_tmpdir/scmroot/dovecot'... $ git fetch origin f3cea215ee06d57897f264ec79f8f8696785a4f5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/dovecot * [new ref] f3cea215ee06d57897f264ec79f8f8696785a4f5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f3cea21 fix sieve crash when there are two missing optional scripts