diff --git a/doc/getstarted/build_and_install/build_from_source_en.md b/doc/getstarted/build_and_install/build_from_source_en.md index 547742a4b3ad0a085b1dd82609498d79f8bd8609..39f8565adf125aaecd9b9db43831d4b15ba35d0f 100644 --- a/doc/getstarted/build_and_install/build_from_source_en.md +++ b/doc/getstarted/build_and_install/build_from_source_en.md @@ -14,12 +14,12 @@ cd paddle git submodule update --init --recursive ``` -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. +If you already have a local PaddlePaddle repo and have not initialized the submodule, your local submodule folder will be empty. You can simply run the following command in your PaddlePaddle home directory to initialze your submodule folder. ``` git submodule update --init --recursive ``` -To sync with the upstream submodule repo, you can run the following command +If you have already initialized your submodule and you would like to sync with the upstream submodule repo, you can run the following command ``` git submodule update --remote ```