$ git clone -n https://src.fedoraproject.org/rpms/kf5-kcodecs.git /var/lib/mock/f31-build-65276-29675/root/thebuilddir/tmp/scmroot/kf5-kcodecs Cloning into '/var/lib/mock/f31-build-65276-29675/root/thebuilddir/tmp/scmroot/kf5-kcodecs'... $ git reset --hard 17d4717d35c48e4aa9471335be69bb9c4dabf68e HEAD is now at 17d4717 update %%files