Git submodules
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.
support
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).
If you like this blog, refill my caffeine supplies by
share