Browse Source

Merge pull request #243 from PoignardAzur/patch-1

Add instructions to use submodules
Thomas Herzog 6 years ago
parent
commit
05e5f5cd5e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -43,6 +43,12 @@ Note that if you wish to use a specific branch, add the -b option to the clone c
 $ git clone --recursive https://github.com/GodotNativeTools/godot-cpp -b 3.0
 $ git clone --recursive https://github.com/GodotNativeTools/godot-cpp -b 3.0
 ```
 ```
 
 
+If your project is an existing repository, use git submodule instead:
+```
+$ git submodule add https://github.com/GodotNativeTools/godot-cpp
+$ git submodule update --init --recursive
+```
+
 Right now our directory structure should look like this:
 Right now our directory structure should look like this:
 ```
 ```
 SimpleLibrary/
 SimpleLibrary/