My PhpStorm project is made of several subfolders of a bigger folder. These subfolders have a .git repo each with different origins. And there is a .git repo at the root of the bigger folder, and
I want PhpStorm to only deal with the subfolder's files and with the subfolder's Git repo. The top folder is NOT included in any of the projects directories because I dont want the IDE to deal with the upper folder's GIT at all.
But this is not the case. PhpStorm commits to the subfolder's GITs and when this is done it requests to commit to the upfolder's GIT !
More precisely this happens :
When changes have been commited (to subfolder's GIT by chance), PhpStorm still proposes to commit them to top folder's GIT, which i do not want.
As long as they have not been pushed to subfolder's git, doubleclicking on a file in the changemost produces an error "fatal: Not a valid object name" followed by an unknown revision number and the filename, and i cannot edit the file anymore.
When i have pushed (to subfolder's git, by chance), then the changelist is still there, but at least i can doubleclick on a file and edit it.
On the command line, all I do in subfolder's subtree goes to subfolder's GIT and when i go upper, than commits and pushes go to upper folder's GIT.
I would like to have the same behaviour with PhpStorm and so as to enable this, top folder's GIT is not included in any of the directories that are included in the PhpStorm project.
So question is : how can I tell PhpStorm to not manage upper folder GIT at all ?
Moreover an issue is : there is no git info displayed in the commit or push window -- or i couldnt see any. Am I requested to commit and push blindly without knowing whereto ?
Or is there a way to remind which is the destination repo ?