A Git Subtree allows you to keep a copy of an external repository in a subdirectory, treating it as a __________ project.

  • separate
  • nested
  • linked
  • subtree
The correct answer is subtree. Git subtree is a merging strategy that allows you to insert the contents of a repository into another one, but unlike submodules, the external repository becomes part of the history of the main repository. It is treated as a subtree within the main project.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *