... | @@ -3,6 +3,10 @@ How to use submodules |
... | @@ -3,6 +3,10 @@ How to use submodules |
|
|
|
|
|
If you would like to set up a repository that makes use of some code or other content that is contained in another repository on OpenVT or a different git server, the Git submodule structure is a handy tool that allows automatically synchronising and pulling the content from the secondary repository.
|
|
If you would like to set up a repository that makes use of some code or other content that is contained in another repository on OpenVT or a different git server, the Git submodule structure is a handy tool that allows automatically synchronising and pulling the content from the secondary repository.
|
|
|
|
|
|
|
|
In the following, a few hints how to get started with submodules and how to perform simple submodule operations -- for more information, please refer to the [Git manual](https://git-scm.com/book/en/v2/Git-Tools-Submodules).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.** 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).
|
... | @@ -25,6 +29,4 @@ git submodule init |
... | @@ -25,6 +29,4 @@ git submodule init |
|
git submodule update
|
|
git submodule update
|
|
```
|
|
```
|
|
|
|
|
|
For more information on submodules, please refer to the [Git manual](https://git-scm.com/book/en/v2/Git-Tools-Submodules).
|
|
|
|
|
|
|
|
|
|
|