$ git clone -n https://src.fedoraproject.org/rpms/mapserver.git /var/lib/mock/f41-build-813933-148824/root/chroot_tmpdir/scmroot/mapserver Cloning into '/var/lib/mock/f41-build-813933-148824/root/chroot_tmpdir/scmroot/mapserver'... $ git fetch origin 7f2e3fb6af8e5ea9f848970ca9fed115c131ee62:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/mapserver * [new ref] 7f2e3fb6af8e5ea9f848970ca9fed115c131ee62 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f2e3fb Perl 5.40 rebuild