giteclipsecheckoutremote-branch

Eclipse Git, Checkout Remote Branch as new Local Branch


When changing the branch in Eclipse with Team > Switch To > Other ... it shows Remote Tracking, there I select the branch I want to checkout. Usually this resulted in checking the branch out as new local branch, where I can commit changes directly too and merge other branches into that branch.

However, the branch somehow gets checked out as a non local branch, where I cant commit to it and cant merge other branches into it.

How to change it back to the old behaviour, where a remote branch is automatically checked out as new local branch?


Solution

  • Selecting "Detached HEAD and checkout of remote-tracking branch" resolves the issue and I can checkout the remote branch as new local branch.

    Screenshot