$ git clone -n https://src.fedoraproject.org/rpms/kf5-kwallet.git /var/lib/mock/f31-build-97561-32970/root/chroot_tmpdir/scmroot/kf5-kwallet Cloning into '/var/lib/mock/f31-build-97561-32970/root/chroot_tmpdir/scmroot/kf5-kwallet'... $ git reset --hard c05e49f0536232d9db54c7f9198fbee8cc4459ed HEAD is now at c05e49f update %%files