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.
As IntelliJ cannot show be my branch I found a way to add the branch to my bash prompt in the terminal. I've added this to my .bashrc file and I get a nice real-time branch indicator.
EDIT: Ignore this prompt. If you need a GIT prompt use http://volnitsky.com/project/git-prompt/
Try using git.exe from "/bin" folder
I had an issue whereby I had no git bar or indexing status after moving to IntelliJ 2017.2 - my issue was down to the 'Code Outline' plugin. I deleted it's jar file from
C:\Users\[user]\.IntelliJIdea2017.2\config\plugins
restarted IntelliJ and I suddenly had my git branch info and indexing status back. Maybe this will help someone else...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 :Congrats, you are done provided you have enabled the status bar.
That setting doesn't seem to be available with the current Git integration in IntelliJ IDEA.
One workaround would be to start a fake push, because the push Window would then display the current branch.
(just click cancel instead of going forward with the push:
You have the information you were looking for in the first place.)