79635173

Date: 2025-05-23 08:58:28
Score: 1.5
Natty:
Report link

No, you can't cleanly commit a file inside a submodule (`B/`) to the parent repo (`A`) only. Git treats submodules as isolated repositories.

Workarounds:

Subtrees are the cleanest solution for this use case.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: S.Raj