File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -204,10 +204,10 @@ with the ``--rebase`` option or without it:
204
204
.. code-block ::
205
205
206
206
# without --rebase, e.g. "west update":
207
- git submodule update init --checkout --recursive
207
+ git submodule update -- init --checkout --recursive
208
208
209
209
# with --rebase, e.g. "west update --rebase":
210
- git submodule update init --rebase --recursive
210
+ git submodule update -- init --rebase --recursive
211
211
212
212
Otherwise, the project has ``submodules: <list-of-submodules> ``. In this
213
213
case, west runs one of the following in the project repository for each
@@ -217,10 +217,10 @@ with the ``--rebase`` option or without it:
217
217
.. code-block ::
218
218
219
219
# without --rebase, e.g. "west update":
220
- git submodule update init --checkout --recursive <submodule-path>
220
+ git submodule update -- init --checkout --recursive <submodule-path>
221
221
222
222
# with --rebase, e.g. "west update --rebase":
223
- git submodule update init --rebase --recursive <submodule-path>
223
+ git submodule update -- init --rebase --recursive <submodule-path>
224
224
225
225
.. _west-built-in-misc :
226
226
You can’t perform that action at this time.
0 commit comments