$ git clone -n https://src.fedoraproject.org/rpms/kde-connect.git /var/lib/mock/f31-build-63720-29424/root/chroot_tmpdir/scmroot/kde-connect Cloning into '/var/lib/mock/f31-build-63720-29424/root/chroot_tmpdir/scmroot/kde-connect'... $ git reset --hard 7fbe326f6bcafb56dd5b0b123bcf22e5c7086b3c HEAD is now at 7fbe326 update %%files