PhpStorm Switch "root" repository in "git branch" widget

Repost from stackoverflow

I recently attached a new repository (versioning) to an existing project in PhpStorm.

Now, the "git branch" widget selected the "versioning" project and I can't figure out a way to switch it back to my main repository... When I open the widget, it list my "versioning" project branches on foreground and I have to hit Repositories > main_repository to access my main project branches.

There must be a way, or somebody having the same problem ?

评论操作 固定链接

The branch widget is displaying a branch that belongs to a file that is in focus/opened in Editor. It means that you have a file from versioning opened in Editor, if you open a file from main_repository then you will see a change in a branch name.

0

请先登录再写评论。