How do I get IntelliJ to make new branches based on selected brach not HEAD?

Solution for How do I get IntelliJ to make new branches based on selected brach not HEAD?
is Given Below:

Ocassionally I did hard reset on my current working branch. I restored all the changes lost but here I’ve another issue:

I have main branch named by dev_security.
I checkout it, I’m on it.

When I create new branch by selecting new branch from branches menu and give it test_branch name

enter image description here

create new branch

it tells me that I’ve created branch from HEAD

enter image description here

Ok, I’ve deleted that branch.

When I am creating new branch by selecting the branch and them making new branch from it

enter image description here

Then it’s ok and tells me that branch is created from dev_security

enter image description here

I am pretty sure before my hard reset operation it was the same and ALWAYS told me about creation from dev_security. How can I make it to behave the same?

git reset does not affect checkout action from IntelliJ UI.

In User Guide you can see the description of each action.
Therefore it is expected that you observe different behavior for different actions. There is no option to set the same behavior for different actions.

If you would like to see what commands exactly are executed when you perform different actions, then please open Git toolwindow, switch to “Console” tab and see what command exactly are executed.