Commit to Wrong Branch
Answered
We are using git and Jira. In the commit screen of Idea, the name of change list is shown; but the name of the brach is not shown. While working with several tasks and several branch; some commits are made to wrong branch.
Is there a way to show the brach name in the commit screen? Or is there a plugin that checks the consistency between the brach and changelist.
Please sign in to leave a comment.
No, there is no way of showing branch name in the commit dialog. See https://youtrack.jetbrains.com/issue/IDEA-63893
Branch name, however, is visible in the lower right corner, if status bar is enabled.
AFAIK, there are no plugins showing branch name in the commit dialog, but there is one showing it in the project tree - GitToolBix https://plugins.jetbrains.com/plugin/7499-gittoolbox-eap and others showing it e.g. at the IDE window title - see https://github.com/PracticeInsight/branch-window-title