4 ms·
You mean something like git submodules or git subtree[2]? [1]: https://git-scm.com/book/en/v2/Git-Tools-Submodules https://git-scm.com/book/en/v2/Git-Tools-Sub
by sirn 10y ago
You mean something like git submodules or git subtree[2]?
[1]: https://git-scm.com/book/en/v2/Git-Tools-Submodules https://git-scm.com/book/en/v2/Git-Tools-Submodules
[2]: https://developer.atlassian.com/blog/2015/05/the-power-of-git-subtree/ https://developer.atlassian.com/blog/2015/05/the-power-of-gi...
- TickleSteve 10y agoI had thought of that, but (correct me if I'm wrong) a submodule is effectively a link to an external repository. What I'm thinking of is a link to a version of an external repository. (It may be working like that, but I've never used it like that if so). Actually, yes... what I would like is an explicitly versioned "submodule" or "subtree" command where I can manage the exact versions within the VCS.
- qznc 10y agoSubmodule does link to specific commit of an external repository. Subtree works a little bit different. It is essentially a copy of an external repository instead of a link.