Hi Yuanhong, This instruction must have assumed you're using git-review tool (https://docs.openstack.org/infra/git-review/), that is designed to ease interaction with gerrit. You can either install it as documented and `git review` should probably work, or directly push change for review with `git push $remote_name_or_url HEAD:refs/for/$branchname` (as described on gerrit wiki: https://gerrit.onap.org/r/Documentation/user-upload.html#push_create).
Best Regards, Konrad Bańka On 04.09.2019 11:19, Deng Yuanhong wrote: > > Hi Team, > > I am trying to create documentation according to: > > https://onap.readthedocs.io/en/latest/guides/onap-developer/how-to-use-docs/include-documentation.html#setup-project-repositories-s > > In this document, I should run the followed commands to setup project > repositories: > > /git clone ssh://[email protected]:29418/doc/ > > /cd doc/ > > /mkdir -p `dirname docs/submodules/$reponame`/ > > /git submodule add ../$reponame docs/submodules/$reponame.git/ > > /git submodule init docs/submodules/$reponame.git/ > > /git submodule update docs/submodules/$reponame.git/ > > /echo " $reponame <../submodules/$reponame.git/docs/index>" >> > docs/release/repolist.rst/ > > /git add ./ > > /git commit -s/ > > /git review/ > > However, when I run the last command “git review”, it failed and > showed the message “git: 'review' is not a git command. See 'git --help'.” > > Is there a mistake in this document? What should I do to setup the > project repositories? > > Thank you in advance for your help. > > Best regards, > > Yuanhong > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18809): https://lists.onap.org/g/onap-discuss/message/18809 Mute This Topic: https://lists.onap.org/mt/33136365/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
