$ git clone -n https://src.fedoraproject.org/rpms/kf5-kwallet.git /var/lib/mock/f31-build-91000-32029/root/chroot_tmpdir/scmroot/kf5-kwallet Cloning into '/var/lib/mock/f31-build-91000-32029/root/chroot_tmpdir/scmroot/kf5-kwallet'... $ git reset --hard 30e9042e4cd7bf569bcf2b1d1bbdf9913781ec22 HEAD is now at 30e9042 update %%files