3 ms·
`git subtree` seems like the perfect tool to complement `git submodule`. Too bad it's not enabled by default: http://engineeredweb.com/blog/how-to-install-git-
by scribu 14y ago
`git subtree` seems like the perfect tool to complement `git submodule`.
Too bad it's not enabled by default: http://engineeredweb.com/blog/how-to-install-git-subtree/ http://engineeredweb.com/blog/how-to-install-git-subtree/
- jedbrown 14y agoSubtree only needs to be installed by the maintainer that interacts with the submodule's upstream. Everyone else just makes normal commits in the parent repo. They don't even need to know that the subtree has its own upstream (but they likely write better commit messages if they know).
- dustingetz 14y agoparent comment is out of date; git subtree is part of git since roughly git 1.8.
- Tobu 14y agoIt's part of git/contrib. Depending on the packaging you still need to enable it manually.