I have a 3rd party library included in my project. It is important that the "subproject" code should be included in the main/parent one, because the objective is when other people makes git pull, they could will download the code with no extra-effort (or minimal).
But I want the possibility to download updates from the library own repo.
Previously, that library was downloaded directly into his directory and updates were managing by commits in the main project.
Now I'm thinking in use git-subtree or git-submodule. Is git-subtree are useful for that purpose. Is git-submodule better?
Git subtree.