... | ... | @@ -11,4 +11,10 @@ In case you prefer working with submodules instead, please check out the [Submod |
|
|
|
|
|
## How it works
|
|
|
|
|
|
If you would like to clone a project containing a subtree, there is nothing special to do -- cloning the project automatically also clones the content of the subtree.
|
|
|
|
|
|
In case you would like to include a subtree into one of your projects -- e.g., you would like to include the vivaplus HBM into a project called my_project -- you have to create a subtree first. Browse into a folder on your computer containing a clone of my_project and do the following:
|
|
|
|
|
|
```bash
|
|
|
git subtree add --prefix vivaplus <cloning_link_vivaplus> <branch_name> --squash
|
|
|
``` |