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

前端 未结 3 1214
甜味超标
甜味超标 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:25

    In case you do not see Fetch from Upstream after right-click the repository, you may look for Fetch from origin.

    0 讨论(0)
  • 2021-01-31 05:45

    What I did: 1: disconnected. 2. refresh and pull. Then, it shows the new branch 3. create local and pull.

    0 讨论(0)
  • 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/*:
    0 讨论(0)
提交回复
热议问题