$ git clone -n https://src.fedoraproject.org/rpms/minetest.git /var/lib/mock/f40-build-802687-144063/root/chroot_tmpdir/scmroot/minetest Cloning into '/var/lib/mock/f40-build-802687-144063/root/chroot_tmpdir/scmroot/minetest'... $ git reset --hard f8d79c4f3d78098b7020ecf042ef2626d79f856d HEAD is now at f8d79c4 Fix FTBFS