user3656901
user3656901

Reputation: 69

Creating new branch doesn't create brach for all modules in IntelliJ

In IntelliJ, on the right bottom, when i click on the branch name, a list of branches will show up, and there is a "+New Branch" function on top of the list. When i click on this "New Function", and put new branch name, for some projects, it will create a new branch for every module. But for some projects, it only creates a new branch for the current module where the file is open at. How could that happen? I thought it should always create new branch for all modules? If it only creates a new branch for current module only, then it's a pain to create a new branch for each module one by one.

Upvotes: 2

Views: 751

Answers (1)

user3656901
user3656901

Reputation: 69

Actually i found the issue. There is a setting beside the "Git Branches" list. The setting has an option "Execute branch operations on all roots". Once i selected this option, it created new branches for all modules.

Upvotes: 1

Related Questions