Skip to content

Comment on Git Submodules as a Package Managerparent

Comments

Set this config: `git config submodule.recurse true`

Well that does save a flag at least so thanks! But I still have to run the command.

There is actually a flag to do submodule update automatically when you checkout or switch branches but DO NOT USE IT! It is known to be buggy and can break your .git directory in a way that is pretty much "delete everything and clone from scratch".

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.