Summary
This chapter provided all the tools you need to manage multicomponent projects with Git, from libraries and graphical interfaces, through plugins and themes, to frameworks.
You learned the concept behind the subtrees technique and how to use it to manage subprojects. You know how to create, update, examine, and manage subprojects using subtrees.
You got to know the submodule approach of nested repositories for optional dependencies. You learned the ideas behind gitlinks, .gitmodules
, and the .git
files. You encountered the pitfalls and traps for the unwary that you need to be vigilant about while using submodules. You know the reason for these problems and understand the notions behind them. You know how to create, update, examine, and manage subprojects using submodules.
You learned when to use subtrees and submodules, and their advantages and disadvantages. You know a few use cases for each technique.
Now that you know how to use Git effectively in a variety of circumstances, and...