... | ... | @@ -27,12 +27,12 @@ The content of the Subtree is essentially a copy of all contents of the linked |
|
|
repository, but without the history. In case there were updates on the
|
|
|
repository, you might want to update the subtree. That is done with pulling,
|
|
|
just like you would do on a local clone of a repository, just the command is a
|
|
|
little bit more complicated:
|
|
|
little bit more complicated - in the example above, the syntax would be:
|
|
|
```bash
|
|
|
git subtree pull --prefix vivaplus <cloning_link_vivaplus> <branch_name>
|
|
|
```
|
|
|
Pushing works in the same way, just replace 'pull' by 'push.' That means, you
|
|
|
can also push you changes to the linked repository back through the subtree.
|
|
|
can also push you changes to the linked repository back through the subtree. Of course, you can only push to a repository and branch that you have permissions to push to.
|
|
|
|
|
|
|
|
|
|
... | ... | |