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.

 

 

0

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.

0

请先登录再写评论。