Switching tasks with multiple git roots


I have a project which has one module with two directories, each its own git root.

I want to switch both git branches when switching tasks, but it appears that IDEA will only preserve one branch for me.

Is there a solution?

Alternatively, if I could export my breakpoints, that would be the next best thing. I really only care about my breakpoints.




When controlled Synchronously (branches have the same name in both repos and the option is enabled in Settings - Version control - Git), switching task show switch branches in both repos.

Please make sure the option is enabled.