Skip to content

Commit 83d78da

Browse files
author
wangyang59
committed
add submodule instructions in build_and_install doc
1 parent c1299e7 commit 83d78da

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/getstarted/build_and_install/build_from_source_en.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ cd paddle
1414
git submodule update --init --recursive
1515
```
1616

17+
If you already have a local PaddlePaddle repo and have not initialized the submodule, you can simply run the following command in your PaddlePaddle home directory.
18+
```
19+
git submodule update --init --recursive
20+
```
21+
22+
To sync with the upstream submodule repo, you can run the following command
23+
```
24+
git submodule update --remote
25+
```
26+
1727
## <span id="requirements">Requirements</span>
1828

1929
To compile the source code, your computer must be equipped with the following dependencies.

0 commit comments

Comments
 (0)