Git technologies

How to create remote git branch in IntelliJ IDEA

To create remote Git branch in IntelliJ idea one should:

  1. Commit and push all your changes first
  2. Create local branch by going to VCS -> Git -> Branches -> New Branch. You can see your local and remote branches in this menu too, as well as current active branch.
  3. After you created local branch to make it remote you need to do VCS -> Git -> Push, set bottom checkbox "Push current branch to alternative branch", specify your new branch (should be already there) and click "Push".

Looking to hire a software engineer?
Don't hesitate to contact us.

Comments

You also may like

Checkout a specific revision with Git

by Dmitriy Drenkalyuk