Skip to content

Instantly share code, notes, and snippets.

@Gikkman
Gikkman / 00 - Overview
Last active April 30, 2025 19:28
Git spare-checkout with nested submodules
We got a root project (project-a) which has a submodule (project-b). That submodule in turn has a submodule (project-c).
Each project also contains some files.
project-a @ 5r210h6/
├─ some-file.a
├─ other-file.a
├─ third-file.a
├─ project-b @ 196a095/
│ ├─ some-file.b
| ├─ more-file.b