Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ and Git Branch Name

I've recently moved from Eclipse to IntelliJ. A challenge as I'm a keyboard shortcut junkie, but that isn't what I'm here about.

I miss having the git branch name shown in the package/project view.

Does anyone know of a way to configure IntelliJ to display what git branch the project is in, so I don't have to keep switching back to the terminal and checking.

Thanks.

like image 644
dom farr Avatar asked Jul 12 '10 10:07

dom farr


People also ask

How do I find remote branches in IntelliJ?

To create remote Git branch in IntelliJ idea one should: Commit and push all your changes first. Create local branch by going to VCS -> Git -> Branches -> New Branch. You can see your local and remote branches in this menu too, as well as current active branch.


1 Answers

As of IntelliJ 11 the current Git branch is displayed in the bottom right corner of the status bar. Moreover, clicking on the branch name displays a nice popup with all available branches, and you can invoke some actions on them.


To enable status bar follow the below steps :

 View --> Appearance --> Status Bar [and click to enable/disable] 
like image 78
LoKi Avatar answered Sep 28 '22 05:09

LoKi