Q:

Intellij - switching between multiple git local branches

I am using Intellij on a project with multiple modules. I have started a big refactor and created local branches for 3 modules. Each branch has the same name. Currently, I have to checkout each of them (for each module, that is). Is there a way to do a global checkout? Or to create a single branch for all modules? Thanks.

A:

Just go to Settings | Version Control | Git and select "Control branches from different roots synchronously", and all operations on branches (VCS -> Git -> Branches) will be performed for 3 repositories at once.
See details in this blogpost.
Also make sure that all 3 modules are correctly registered in the roots table in Settings | Version Control. 

