SoulCub
SoulCub

Reputation: 467

Intellij IDEA, when open new task - it doesn't create local branch from origin

IDEA version - 2017.2.

If create task from Jira (for which branch have been already created in remote)

enter image description here

and select this branch for this Jira from dialog enter image description here

it wont create local branch on my computer and just point to commit instead enter image description here

Of course if try to commit you will not succeed without local branch.enter image description here

So it would be very handy to say IDEA to create local branch automatically. How to do it?

Upvotes: 0

Views: 482

Answers (1)

Dmitrii Smirnov
Dmitrii Smirnov

Reputation: 7528

Idea currently does not allow checking out remote branches without creating a local one that tracks it. Here is the request: https://youtrack.jetbrains.com/issue/IDEA-140077

Since there is no local branch that matches the remote one, you need to use the Create branch and select the remote one in the From dropdown.

Upvotes: 1

Related Questions