paulwong

          在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

          主站蜘蛛池模板: 新化县| 西安市| 喀喇| 余干县| 鄄城县| 甘南县| 察哈| 稷山县| 东山县| 湄潭县| 澎湖县| 宁晋县| 梨树县| 乌拉特中旗| 苏尼特左旗| 河间市| 视频| 榕江县| 南华县| 武胜县| 开封县| 高平市| 斗六市| 昆明市| 宁海县| 玉龙| 南康市| 镶黄旗| 吴川市| 崇礼县| 和平县| 广西| 浦县| 宣化县| 太仆寺旗| 昌乐县| 长垣县| 英德市| 永川市| 永靖县| 鄯善县|