Submodules
Checkout Repository As Submodule
You have a URL to a Git repository that you want to add as a submodule:
Remove Submodule
Apparently this was a recent addition to Git (2022). Why this was so hard to do in the past is beyond me, but I guess that's Git, isn't it.
Source: Stack Overflow
Recursively Checking Out Submodules
Easiest way to checkout submodules once you've already cloned the repository:
Source: Stack Overflow
Last updated