$ git clone -n https://src.fedoraproject.org/rpms/khelpcenter.git /var/lib/mock/f31-build-109183-33906/root/chroot_tmpdir/scmroot/khelpcenter Cloning into '/var/lib/mock/f31-build-109183-33906/root/chroot_tmpdir/scmroot/khelpcenter'... $ git reset --hard 81206e8ea9da1d941f838bae15abf3e21dce866d HEAD is now at 81206e8 update %%files