$ git clone -n https://src.fedoraproject.org/rpms/kf5-kguiaddons.git /var/lib/mock/f31-build-65307-29682/root/thebuilddir/tmp/scmroot/kf5-kguiaddons Cloning into '/var/lib/mock/f31-build-65307-29682/root/thebuilddir/tmp/scmroot/kf5-kguiaddons'... $ git reset --hard 9c0f1baf69772c12774bf45436c023528edb833f HEAD is now at 9c0f1ba update %%files