diff options
author | 2017-09-20 15:18:19 +0000 | |
---|---|---|
committer | 2017-09-20 15:18:19 +0000 | |
commit | 7a6047973f00a80123c9eef041fdc5a4261344bf (patch) | |
tree | b1264bb2088b6623445249b537a8259bbc8dec6a /docs/guides/onap-developer | |
parent | 76ccfd0c989fc8b92bbc34661b33841d7b7a13b5 (diff) | |
parent | 436e571e6e5aa1123d090c52012676a68968b191 (diff) |
Merge "Updated submodule section with new instructions"
Diffstat (limited to 'docs/guides/onap-developer')
-rw-r--r-- | docs/guides/onap-developer/how-to-use-docs/update-review.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/guides/onap-developer/how-to-use-docs/update-review.rst b/docs/guides/onap-developer/how-to-use-docs/update-review.rst index 033f2f085..7a0cd39dc 100644 --- a/docs/guides/onap-developer/how-to-use-docs/update-review.rst +++ b/docs/guides/onap-developer/how-to-use-docs/update-review.rst @@ -90,6 +90,26 @@ submodules. To pull in the latest changes: git submodule foreach 'git pull' +Next, for every submodule, you'll need to rename 'origin' to 'gerrit': + +.. code:: bash + + git submodule foreach 'git remote rename origin gerrit' + +Finally, for every submodule, you'll have to tell git-review how to find +Gerrit. + +.. code:: bash + + cd doc # Make sure we're in the top level doc repo directory + git submodule foreach 'REPO=$(echo $path | sed "s/docs\/submodules\///") ; git remote add gerrit ssh://<LFID>@gerrit.onap.org:29418/$REPO' + +Or, if you prefer to do only one at a time: + +.. code:: bash + + git remote add gerrit ssh://<LFID>@gerrit.onap.org:29418/repopath/repo.git + Requesting Reviews ------------------ |