I have multiple projects in different repositories:
tools
thirdparty
shared
├──Common
├──Exceptions
multimedia
├──VolumeControl
├──VideoRenderer
android
├──Audio
For example, android depends on shared/Common, shared/Exceptions, tools, thirdparty and multimedia/VolumeControl.
I tried:
- Submodules:https://git-scm.com/book/en/v2/Git-Tools-Submodules
- sparse-checkout:http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/
However, they both checkout or bring-in multimedia folder within the android folder. Instead, I want it like:
android
├──Audio
├──VolumeControl (brought in from multimedia)
How do I accomplish this?
Note: I used to accomplish this using lockexterns in svn.