$ git clone -n https://src.fedoraproject.org/rpms/kf5-prison.git /var/lib/mock/f31-build-65461-29704/root/chroot_tmpdir/scmroot/kf5-prison Cloning into '/var/lib/mock/f31-build-65461-29704/root/chroot_tmpdir/scmroot/kf5-prison'... $ git reset --hard 466ec026bce7ebf2a29a3d6ec349a74d324cc4b0 HEAD is now at 466ec02 update %%files