PhpStorm 2017.3 how to set the commit going to the stage-branch diretcly?

已回答

Hello!

In Bitbucket there is a repository with 3 branches:

Live (set as main-branch), Stage and Test

In PhpStorm I choose "Check out from Version Control/Git" then typing the Bitbucket-URL...

The main-branch will be cloned to PhpStorm (local).

If I commit the changes without making any further settings, then they will be sent to the Live-branch (main-branch), right?

But after editing I want the changes go to the stage-branch.

How can I do it or controll that?

Thank you in advanced.

0

Switch branches using this dropdown menu in lower right:

0
Avatar
Permanently deleted user

You can also find more information about working with branches here: https://www.jetbrains.com/help/phpstorm/manage-branches.html .

0
Avatar
Permanently deleted user

Thank you all very much!

1

请先登录再写评论。