How to keep track of recently pushed branch


I'm wondering how can i push a local branch to a new branch (not the origin) and keep track of this link for the next pushes in the future.

For example:
I have my principal branch : master.
I checked out a new local branch from master that i named master_new_feature.
After finishing my modifs, i commit then push that branch. However i want to push to a new branch other than push directly to master.
So i choose the option "Push to alternative branch" and name my new remote branch as its local name: master_new_feature.
The question is, if i continue to work with my local branch, the next time i push, phpstorm propose always master as origin thoughout i pushed a new branch to remote server.
Is there a config i have to do in order to tell phpstorm to memorise that now master_new_feature -> master_new_feature

Thans in advance


Please sign in to leave a comment.