"submodules" in git: braid or subtree or something else

To include several external git repositories in my "main" repository, there are several options:

  • Submodules
  • braid
  • under the tree

The first, apparently, is advised basically by everyone. The second and third, I believe, are implementations of the subtree template.

Is it better? What should i use? What for? How can I choose between them?

+3
source share
1 answer
  • submodule works great:

    • refers to the specific execution of another repo (the true equivalent of svn external with explicit revision numbers),
    • ( ) ( ).
  • .

, , , .
.

+4

Source: https://habr.com/ru/post/1767687/


All Articles