$ git clone -n https://src.fedoraproject.org/rpms/gegl04.git /var/lib/mock/f41-build-815538-149548/root/chroot_tmpdir/scmroot/gegl04 Cloning into '/var/lib/mock/f41-build-815538-149548/root/chroot_tmpdir/scmroot/gegl04'... $ git fetch origin 4dc0a00b809b47200660b19e160f9bf0a12f7252:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gegl04 * [new ref] 4dc0a00b809b47200660b19e160f9bf0a12f7252 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4dc0a00 Disable docs to fix FTBFS