Hacker News new | ask | show | jobs
by junon 1943 days ago
Another tip: you can do a deep clone of the main repo, then do `git submodule update --init --recursive --depth=1` to just pull the heads of your dependencies to cut down on times. Especially useful if you don't work within the submodules at all.
1 comments

IMO this should be the default!
No. History is the whole point of git. It would be antithetical to make this the default.

I'm more on board with the recursive options, though.