Submodules can be cumbersome, BUT they are really useful in some situations. Let's see some basic commands.
Fetch all submodules of a repository§
$ git submodule update --init --recursive
Update a single submodule from remote§
$ git submodule update --remote --merge
Then add, commit and push the main repo to see the changes.
Did you find this post useful?
Remember that this website doesn’t make use of any trackers or analytics or adv so it doesn’t earn from your visits (moreover, it has a minimal environmental impact).