Re:Show HN: Get rid of Git submodules and never look back (n...
by Dm_Linov on Monday June 27, 2022 @01:48PM
(#31898068)
That's because you haven't had all code messed up when someone pushed in the wrong order :-)
[ Parent
| on HN ]
Re:Show HN: Get rid of Git submodules and never look back (n...
by Denvercoder9 on Monday June 27, 2022 @02:28PM
(#31898631)
How can pushing in the wrong order mess up all code? The worst thing I can imagine is pushing the superproject with a subproject update, but not pushing the subproject. That would end up with an unbuildable commit in the superproject, as you can never check out its associated commit from the subproject, but I don't see how that's close to "messing up all code".
Re:Show HN: Get rid of Git submodules and never look back (n...
by Dm_Linov on Monday June 27, 2022 @02:42PM
(#31898827)
https://codingkilledthecat.wordpress.com/2012/04/28/why-your... - there's a good example here
Re:Show HN: Get rid of Git submodules and never look back (n...
by Sirikon on Monday June 27, 2022 @02:53PM
(#31899006)
Notice the post is 10 years old and some of the complaints can get solved with the config `submodule.recurse true` https://stackoverflow.com/a/49427199