What problem does git subtree solve?
When and why should I use that feature?
I\'ve read that it is used for repository separation. But why would I not j
To add to above answers, an additional drawback of using subtree is the repo size compared to submodules.
I don't have any real world metrics, but given that each time a push is made on a module, everywhere that module is used gets a copy of the same change on the parent module (when is subsequently updated on those repos).
So if a code base is heavily modularised, that will add up quite quickly.
However, given storage prices are always coming down, that may not be a significant factor.