IntelliJ Git: Commit workflow for multiple repositories
Answered
I have a larger project with multiple modules and each module has its own Git repository. When I want to commit changes I can only provide a single commit message for all repositories. So I have to deselect all modules except one, enter the commit message and hit commit. The window closes and I have to open it again and select another module.
Is it somehow possible (maybe via plugin) to prevent closing the commit window or using different commit messages for different modules (i.e. when I click on a module in the commit window that has its own repository, the commit message that I enter is only valid for the selected module).
Please sign in to leave a comment.
No, it is not possible to keep commit dialog opened. https://youtrack.jetbrains.com/issue/IDEA-131673
You could use separate changelist with different descriptions to achieve a similar result.
Ok, thanks for the info. Is it possible to assign modules to change lists or do I have to assign the changes of each module to their own change list every time I open the commit window?
Unfortunately, changelists could not be tied to modules.
Another option you have is actually to group changes by directory and commit them by directory (just select the root directory you want to commit in the Local changes and call commit)