How do I get a new branch to show up in Eclipse Git Remote Tracking?

前端 未结 3 1215
甜味超标
甜味超标 2021-01-31 05:15

I have an existing Eclipse git project, with a master and development branch present in both local, and remote tracking. I have just added a new branch in my git repository, but

3条回答
  •  日久生厌
    2021-01-31 05:49

    In the Git Repositories view:

    1. Right-click the repository and choose Fetch from Upstream
    2. If the new branch will not shown up below Branches/Remote Tracking, you have to configure fetch:
      1. Right-click the fetch node below Remotes/origin and choose Configure Fetch...
      2. In the Configure Fetch make sure there is only the single Ref mapping (assuming the remote is named origin) +refs/heads/*:refs/remotes/origin/*:

提交回复
热议问题