From the course: Git Dependency Management with Submodules and Subtrees
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Introduction to Git submodules
From the course: Git Dependency Management with Submodules and Subtrees
Introduction to Git submodules
- Let's move on to the first tool that is Git submodules. In this video, I'll be giving you a quick introduction to Git submodules. Git submodules help you nest Git repositories within other Git repositories, can easily detect the presence of GIS submodules in a repository by the presence of the dot Git modules config file. I'll be showing how Git submodules look like on GitHub in a bit. Another feature you must remember while learning Git submodules is that it points to a specific commit reference of the child repository. As mentioned earlier, it overcomes the disadvantage we discussed before. It can build and test from bleeding-edge checkouts. Git submodules follow a component-based development model. We can choose to update a specific submodule according to your requirement or one at a time.
Contents
-
-
-
-
(Locked)
Introduction to Git submodules39s
-
Git submodules in action on GitHub1m 19s
-
(Locked)
Git submodules in action in your terminal and VSCode6m 9s
-
More commands with Git submodules3m 9s
-
(Locked)
Challenge: Initialize and update submodules26s
-
(Locked)
Solution: Initialize and update submodules2m 18s
-
(Locked)
-
-
-