I have a problem with using Git inside IDEA on our current project.
This Maven-based project is organized into three "sub projects" inside a single Git repository:
/MyProject
--- /SubprojectMain
---/SubprojectOther
---/SubprojectWeb
So the Git repo itself lives in folder "MyProject" but each pom.xml file lives in its own subfolder, for example /MyProject/SubprojectMain/pom.xml.
The "SubprojectMain/pom.xml" includes the other two projects, making it the "parent pom", but the Git plugin in IDEA sees each subfolder as a separate project. The problem with this is that if I change files in two or three projects, and then do a "commit", I have to remember (each time!) to manually select files in the other two projects besides the one I've clicked on. Otherwise they don't get committed.
Is there any way to force the Git plugin to "recognize" all three folders as a single project? I've checked the settings pages and don't see anything, but if someone has an answer for this it would be great.