I'm trying to update git submodules recursively using git submodule update --recursive --remote --init. The modules structure is:
- A
- B
- C/master
- C/backend
- C/frontend
- B
All branches in use in C are orphan with completely separated code...
All repos are private, but I´m the owner.
This is the message I get everytime. (Tried syncing, using git://, updating first without recursion)
Failed to clone 'C/master'. Retry scheduled
error: submodule git dir 'F:/Docs/A/.git/modules/B/modules/C/backend' is inside git dir 'F:/Docs/A/.git/modules/B/modules/C'
fatal: refusing to create/use 'F:/Docs/A/.git/modules/B/modules/C/backend' in another submodule's git dir
Any ideas how to fix this?