News for hackers. Stuff that matters.
Re:Demystifying Git Submodules by dirkt on Monday December 02, 2024 @03:13AM (#42294164)
I have used them for OpenAPI specs shared between frontend and backend, and database schemas together with values for a test database in the pipeline.

Yes, you can also solve this with a monorepo...

Re:Demystifying Git Submodules by eru on Monday December 02, 2024 @06:19AM (#42295073)
You can use git subtree to convert between mono-repo and separate repos, without losing your history. You can even keep both styles up to date concurrently.