|
|
Like sbumodules, subtrees allow linking repositories in a nested way. Compared to submodules, subtrees come with the advantage that it also works with https and that cloning the main repository automatically also clones the content of the subtrees. On the other hand, the git commands using subtrees tend to be lengthy.
|
|
|
Subtrees allow linking repositories in a nested way. Compared to
|
|
|
submodules, subtrees come with the advantage that it also works with
|
|
|
https and that cloning the main repository automatically also clones
|
|
|
the content of the subtrees. On the other hand, the git commands using
|
|
|
subtrees tend to be lengthy.
|
|
|
|
|
|
In the following, a few hints how to get started with subtrees and how to perform simple subtree operations -- for more information, please refer to the [Gitlab documentation](https://docs.gitlab.com/ee/topics/git/subtree.html).
|
|
|
|
|
|
In case you prefer working with submodules instead, please check out the [Submodule section](https://openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/-/wikis/Submodules).
|
|
|
|
|
|
|
|
|
|
|
|
## How it works
|
... | ... | |