Hi Konrad,
Thank you very much. I tried to directly push change using the command “git push origin HEAD:refs/for/master” , but failed again. The error message is as followed: cmcc@dyh-laptop MINGW64 /d/work/onap/doc (master) $ git push origin HEAD:refs/for/master remote: Unauthorized fatal: Authentication failed for 'https://gerrit.onap.org/r/doc/' It seems I have no right to do the push operation. What should I do to push the change? Thanks a lot. Best regards, Yuanhong From: [email protected] [mailto:[email protected]] 代表 Konrad Banka via Lists.Onap.Org Date: 2019年9月4日 18:40 To: [email protected]; [email protected] Subject: Re: [onap-discuss] About setup project repositories when creating documentation 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 <http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=k.banka&do=bWFpbElEPTIwMTkwOTA0MTA0MDI0ZXVjYXMxcDIyNjU2MGJhNmNmNmNlOTA4YmQ5MzI2Y2IwNWIzNmI2ZCZyZWNpcGllbnRBZGRyZXNzPW9uYXAtZGlzY3Vzc0BsaXN0cy5vbmFwLm9yZw__> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18818): https://lists.onap.org/g/onap-discuss/message/18818 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]] -=-=-=-=-=-=-=-=-=-=-=-
