Our small team thought it would be a cool idea if the libraries (X, Y, Z) of our project A were separated into git submodules. Little did we realize how big of a pain this would be, especially since how project is still in early stages and is not well segregated yet. I think the project leader made the subdirectories submodules via the git filter-branch command (I can't ask him b/c he's on vacation).
Can we undo this somehow, and slurp the commits in the submodules back into the main project?
Examples of 'pain':
- Project A must point to X,Y,Z via 'git://' links instead of 'ssh://' if we want users to be able to check it out without ssh access, so we can't make changes directly to X via the A/X copy if we want to be able to push -- we have to clone it out separately, commit, push, then pull from the A/X copy.
- Furthermore, TortoiseGit and other windows tools don't seem to understand submodules, or at least they don't make it transparent as merely cloning, so now we're patching together things with stupid scripts and hooks.
- Oh yeah-- for every change in X,Y, or Z we have to add a "Submodule updated" commit in the main project. I'm guessing that submodules were meant for much more mature projects that are maintained by different teams.