Browse Source

Ajout info Submodule

Loquicom 6 years ago
parent
commit
02eb943291
1 changed files with 13 additions and 1 deletions
  1. 13 1
      README.md

+ 13 - 1
README.md

@@ -51,6 +51,18 @@ $ git push
 
 ## Commandes submodule (Lien vers les git des tests)
 
+Pour initialiser les submodules :
+
+```shell
+$ git submodule update --init
+```
+
+Pour initialiser un submodule précis :
+
+```shell
+$ git submodule update --init <nom_dossier_submodule>
+```
+
 Pour mettre à jour les submodules :
 
 ```shell
@@ -59,7 +71,7 @@ $ git submodule update --remote
 
 Pour mettre à jour un submodule précis :
 
-```sh
+```shell
 $ git submodule update --remote <nom_dossier_submodule>
 ```