3 ms·
A git submodule is almost the same thing as an svn external that's pinned to a specific revision. From that baseline, these are the differences I can think of:
by Izkata 6y ago
A git submodule is almost the same thing as an svn external that's pinned to a specific revision. From that baseline, these are the differences I can think of:
* The submodules aren't automatically updated like externals are with "svn up", you need a second command.
* Adding a submodule is done with a command, not editing files/props directly.
* Any changes to the pinned revision are done inside the submodule (git pull, new commits, etc), which automatically changes the reference in the parent repo and then is committed in the parent repo.
* Removing a submodule is two commands now, not a bunch of manual work (article is out of date: https://news.ycombinator.com/item?id=26171333 https://news.ycombinator.com/item?id=26171333 ).