$ git clone -n https://src.fedoraproject.org/rpms/haruna.git /var/lib/mock/f40-build-768577-125350/root/chroot_tmpdir/scmroot/haruna Cloning into '/var/lib/mock/f40-build-768577-125350/root/chroot_tmpdir/scmroot/haruna'... $ git fetch origin 17d72c5a0d7ff699de95797356463905fbc569e9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/haruna * [new ref] 17d72c5a0d7ff699de95797356463905fbc569e9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 17d72c5 rebuild