News for hackers. Stuff that matters.
Re:Git Submodules: Adding, Using, Removing, Updating (2009) by temac on Wednesday February 17, 2021 @08:05AM (#26165852)
I agree with that. Both the ergonomics and the quality of implementation of git submodules are currently atrocious. Special mention if you try to mix them with worktrees. I think there is a small possibility that they will become usable in 10 years, and an even smaller in 5.

But for now: don't use git submodule. I did not believed that once, because they kinda look nice on paper. Don't do the same mistake. At least wait 5 years before trying them. And test them appart during at least 6 months, actively each day, before taking a dependency and actually making your project use them.

Re:Git Submodules: Adding, Using, Removing, Updating (2009) by pvorb on Wednesday February 17, 2021 @03:27PM (#26171259)
What makes you think that submodules will improve? I've used them for the last ten years or so (when I was forced to) and haven't seen any advances in UX.