![]() The commit history of the whole child project gets merged into the parent repository after such commands.Ĭhanges to and from the subtree are pushed and pulled using: Git subtree add –prefix=folder/ remote-name subtree-branch name To add a new subtree to a parent repository, you must enter the following commands – firstly, remote add it, secondly, use the subtree add command, which looks like this: gitmodule).Ī subtree can be added to a parent repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |