$ git clone -n https://src.fedoraproject.org/rpms/kf5-kitemmodels.git /var/lib/mock/f31-build-65344-29693/root/thebuilddir/tmp/scmroot/kf5-kitemmodels Cloning into '/var/lib/mock/f31-build-65344-29693/root/thebuilddir/tmp/scmroot/kf5-kitemmodels'... $ git reset --hard b29eb3df69d72e3bf3ae71992fbf849689d57595 HEAD is now at b29eb3d update %%files