$ git clone -n https://src.fedoraproject.org/rpms/kf5-ktexteditor.git /var/lib/mock/f31-build-85463-31603/root/chroot_tmpdir/scmroot/kf5-ktexteditor Cloning into '/var/lib/mock/f31-build-85463-31603/root/chroot_tmpdir/scmroot/kf5-ktexteditor'... $ git reset --hard 4696542e319d09eee8c0c0fba7f629a068b8441a HEAD is now at 4696542 update %%files