phpStorm how to publish on bitbucket a local branch?

I do not want to switch to another tool(SourceTree) to create another branch. I understand that it should be possible to send a local branch to the server.

But to find how to do it from phpStorm I can't.
October 3rd 19 at 03:35
2 answers
October 3rd 19 at 03:37
Do you happen to about the tick (Push current branch,...) which allows you to create a new remote branch from a local?

Yes, it is, thank you very much - Adele9 commented on October 3rd 19 at 03:40
October 3rd 19 at 03:39
git push --set-upstream origin <branch_name>
git push
Better now the error is

fatal: could not read Password for '': Device not configured - Adele9 commented on October 3rd 19 at 03:42
I suspect that you have a problem with SSH key, look here, maybe can help: - Adele9 commented on October 3rd 19 at 03:45
In this configuration, not using the SSH key (since the address starts with https) First you need to look at git remote -v to understand what is used as a remote ( not necessarily origin ) - pearl_Web commented on October 3rd 19 at 03:48

Find more questions by tags GitPhpStormPHP