I am using IntelliJ on a project with multiple modules. I have started a big refactoring 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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With