You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/02/09 09:46:16 UTC

[GitHub] [skywalking] wu-sheng commented on a change in pull request #4333: Make an alternative method while cloning

wu-sheng commented on a change in pull request #4333:  Make an alternative method while cloning
URL: https://github.com/apache/skywalking/pull/4333#discussion_r376769377
 
 

 ##########
 File path: docs/en/guides/How-to-build.md
 ##########
 @@ -17,11 +17,19 @@ If you need to execute build behind the proxy, edit the *.mvn/jvm.config* and pu
 
 ### Build from GitHub
 1. Prepare git, JDK8 and maven3
-1. `git clone https://github.com/apache/skywalking.git`
-1. `cd skywalking/`
+1. Clone project
+    ```bash
+    git clone --recurse-submodules https://github.com/apache/skywalking.git
+    cd skywalking/
+    
+    OR
+    
+    git clone https://github.com/apache/skywalking.git
+    cd skywalking/
+    git submodule init
+    git submodule update
 
 Review comment:
   Your step is not right, because branch change could relate to submodule change.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services