How to create remote GIT branch in PhpStorm?

Hi!

How to create remote GIT branch in PhpStorm?

Thanks.

0
6 comments
Avatar
Permanently deleted user

If the name of remote branch matches a name of local branch, you could just push it using Version Control -> Git -> Push Changes action in the menu. Otherwise, you could use command line git push command.

0
Avatar
Permanently deleted user

Thanks Constantine. And one more question: How to remove it?

0
Avatar
Permanently deleted user

You have to use the command line for this like: git push --force :refs/heads/branchToRemove

0

const wrote:

If the name of remote branch matches a name of local branch     

Creating a remote GIT branch implies that it does not exist yet. So how can it match in name then?

0
Avatar
Permanently deleted user

Hope once you create your local branch then commit and push it ,you can find a same in Remote branch ! 

0

Please sign in to leave a comment.