$ git clone -n https://src.fedoraproject.org/rpms/kf5-kdesignerplugin.git /var/lib/mock/f31-build-97037-32910/root/chroot_tmpdir/scmroot/kf5-kdesignerplugin Cloning into '/var/lib/mock/f31-build-97037-32910/root/chroot_tmpdir/scmroot/kf5-kdesignerplugin'... $ git reset --hard 7586d2210ef684118676ed11209aa5044c36b35d HEAD is now at 7586d22 update %%files