I have been working on a large multi-year project and had it split into seven or more repositories for each component. Since submodules "sucked" (or did back then), I invented my own dependency management tool.
After about two years I have recently converted it all back into a mono-repository because it's so much less work to maintain:
Just use normal git commands.
If you update a dependency, check it in as-is.
The state of the repository is the state of your dependencies, just git clone to start.
You can use normal git tools or GUI's (such as Source Tree) and merge/diff tools.
Tools and views on GitHub or similar just work.
Reduces engineer drag (you spend less time fiddling with dependencies).
The conversion back to a mono-repository required me to write a fairly complex bash script, mostly using git commands (great way to get more experience in git). I wanted to merge the history for all the repositories into one linear history, including tags (but fortunately only one branch).
I made the script repeatable (it leaves the original repositories alone) so I could check that script into git itself and develop it slowly until the results were correct.
Having said that, submodules or something similar may be useful for external dependencies, though having said that every company I have worked for just check in the dependencies into a mono-repository.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have been working on a large multi-year project and had it split into seven or more repositories for each component. Since submodules "sucked" (or did back then), I invented my own dependency management tool.
After about two years I have recently converted it all back into a mono-repository because it's so much less work to maintain:
The conversion back to a mono-repository required me to write a fairly complex bash script, mostly using git commands (great way to get more experience in git). I wanted to merge the history for all the repositories into one linear history, including tags (but fortunately only one branch).
I made the script repeatable (it leaves the original repositories alone) so I could check that script into git itself and develop it slowly until the results were correct.
Here's some of it:
See Stackoverflow - Splice unrelated repositories
Having said that, submodules or something similar may be useful for external dependencies, though having said that every company I have worked for just check in the dependencies into a mono-repository.