Search code examples
eclipsegitlabbranchegit

How can I pull a new branch from GitLab in Eclipse in an existing project


I just started to work with Eclipse and GitLab. In Eclipse I pulled my ABranch. Now I created an extra branch in GitLab, but I can't get the new branch in Eclipse.

  • I created a project in Gitlab with 2 branches (Master and Abranch).
  • In Eclipse I only pulled the Abranch and pushed the changes back.
  • In Gitlab I merged the changes to Master and also added an extra branch (testtesttest).
  • Now I try to recieve the other branches in Eclipse.

Can you help me without using commands?

In tried to fetch from upstream with right-click at my repository but I can only see my 'origin/Abranch' under Remote tracking. I can't get my Master and Testtesttest in. Fetching says everything is up to date. I've got a screenshot below.

Screenshot (empty) fetch results, here I expected my Master and Testtesttest


Solution

  • After all a bug in Eclipse was likely the issue. I also had Eclipse freezing at some moments. It's fixed with the following update: https://www.eclipse.org/forums/index.php/t/1099477/