... | @@ -9,7 +9,7 @@ In the following, a few hints how to get started with submodules and how to perf |
... | @@ -9,7 +9,7 @@ In the following, a few hints how to get started with submodules and how to perf |
|
|
|
|
|
Getting started
|
|
Getting started
|
|
----------------
|
|
----------------
|
|
* Start a Project on OpenVT, let's say the name is **my_awesome_project.** You would like to include some other repository in there, let's say that one is called **the_other_awesome_project** (that one can be located on OpenVT or any other git server).
|
|
* Start a Project on OpenVT, let's say the name is **my_awesome_project** (that one will be called 'main repository' in the following). You would like to include some other repository in there, let's say that one is called **the_other_awesome_project** (that one can be located on OpenVT or any other git server; we will refer to it as the 'submodule repository').
|
|
* Make a clone on your computer with git:
|
|
* Make a clone on your computer with git:
|
|
```bash
|
|
```bash
|
|
git clone <cloning_link_for_my_awesome_project>
|
|
git clone <cloning_link_for_my_awesome_project>
|
... | @@ -38,5 +38,7 @@ git pull --recurse-submodules |
... | @@ -38,5 +38,7 @@ git pull --recurse-submodules |
|
git submodule update --remote
|
|
git submodule update --remote
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Changes in submodules
|
|
|
|
----------------------
|
|
|
|
If you have done changes to the content of a submodule, they are not automatically pushed by pushing the main repository
|
|
|
|
|