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.

0
2 comments
Thanks for the detailed explanation! This is a known usability issue on our side and is already tracked here: https://youtrack.jetbrains.com/issue/IJPL-184371. Please feel free to up vote it so it's easier for us to prioritize it and star it to follow any updates. For now, the only workaround is to double-check the current branch via the main IDE window, before committing, but we understand this isn’t ideal, your feedback helps us prioritize improving this. Thank you!
0

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

0

Please sign in to leave a comment.