paulwong

          My Links

          Blog Stats

          常用鏈接

          留言簿(67)

          隨筆分類(1393)

          隨筆檔案(1151)

          文章分類(7)

          文章檔案(10)

          相冊

          收藏夾(2)

          AI

          Develop

          E-BOOK

          Other

          養生

          微服務

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          60天內閱讀排行

          在ECLIPSE中切換到新建的分支

          如果已經在ECLIPSE中CLONE了GIT的項目,這時當GIT中又新建了項目,ECLIPSE無法切換到這新建的項目,解決辦法:


          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/*:
              Configure fetch

          這時再次Fetch from upstream,則新建的項目再次重現:Git Repositories View-->Branches-->Remote Checking中。
          雙擊新的分支,選:Check out as New Local Branch即可。

          https://stackoverflow.com/questions/47390703/how-do-i-get-a-new-branch-to-show-up-in-eclipse-git-remote-tracking/47391183

          posted on 2020-09-24 15:16 paulwong 閱讀(714) 評論(0)  編輯  收藏 所屬分類: GIT

          主站蜘蛛池模板: 喜德县| 天峨县| 密云县| 榆树市| 雅江县| 承德县| 固始县| 澄城县| 原平市| 卓资县| 长汀县| 武城县| 三门峡市| 天峨县| 巴青县| 天柱县| 三亚市| 新蔡县| 阿荣旗| 余庆县| 潢川县| 平谷区| 柞水县| 东平县| 蛟河市| 凤山县| 阿拉善右旗| 德惠市| 普安县| 宿州市| 长治县| 西峡县| 永寿县| 海城市| 莒南县| 祁阳县| 石家庄市| 沁阳市| 贵溪市| 大悟县| 龙海市|