Display the branch the commit is going to be made to
Hello!
I'm using a floating Git commit dialog window (at first I view the Local Changes, and then I select the files I want to commit, and then the commit comment pane shows up). In that window, I do not see the branch that the commit is going to be committed to. Am I missing something, or should I create a feature suggestion issue? I've accidentally made my commit to wrong branches several times because of this.
I see the branch name in the main editor window's title bar at the top, but the floating changes/commit window usually either covers the whole screen including title bars of other windows, or it's on another monitor.
If I'm using the "Commit and Push…" command, I can see the branches on the “push” step, which helps to catch the mistake from going remote, but the local commit is already made, at that point.
请先登录再写评论。
I’ve had the same issue, since the commit dialog doesn’t clearly show the current branch, I’ve learned to double-check or switch branches in the main window before committing, but it would definitely be worth submitting a feature request to display it directly in that dialog.
https://youtrack.jetbrains.com/issue/IJPL-184371basketball stars