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 39f8565adf125aaecd9b9db43831d4b15ba35d0f..3441ebf222004e8f75ea21fee19f52628b82a06f 100644 --- a/doc/getstarted/build_and_install/build_from_source_en.md +++ b/doc/getstarted/build_and_install/build_from_source_en.md @@ -14,10 +14,7 @@ cd paddle git submodule update --init --recursive ``` -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 -``` +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 last line of the above codes in your PaddlePaddle home directory to initialze your submodule folder. If you have already initialized your submodule and you would like to sync with the upstream submodule repo, you can run the following command ```