$ git clone -n https://src.fedoraproject.org/rpms/kdelibs.git /var/lib/mock/f38-build-697954-86909/root/chroot_tmpdir/scmroot/kdelibs Cloning into '/var/lib/mock/f38-build-697954-86909/root/chroot_tmpdir/scmroot/kdelibs'... $ git reset --hard b6544f6bdd8612a09382ecb5fb96b098761eb0b8 HEAD is now at b6544f6 fixed FTBFS