![]() ![]() The subtree merge works on the basis of two projects you have, one of which maps to a subfolder of the other and vice versa. A subtree is a sub directory that may be committed to, branched, and merged in any form you choose doing your super project. ![]() Subtrees allow subprojects to be contained under a subfolder of the parent project, the same happens with the subproject. Git submodule change branch A great alternative – git subtreeĬonsider your Git repository to be a tree, and a subtree is a smaller version of the main tree. If there are nested submodules, do the following: If you’ve previously cloned a repository and wish to load its submodules, use: gitmodules.įor example, to clone a repository with submodules, use: When the changes aren’t too frequent, this method works well.įirstly, create a new submodule using the git submodule command that saves the path and hyperlink references in a folder called.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |