stackoverflow有很好的解决方法,地址如下:
http://stackoverflow.com/questions/8820668/the-current-branch-is-not-configured-for-pull-no-value-for-key-branch-master-mer
用的是只有被投4票的一个答案,完美的解决了我的问题:
To fix this problem in Eclipse, open the Windows menu and select Show View / Other / Git Repositories.
From the Git Repositories tab:
expand your local repository
right click on Remote
click on Create Remote...
Remote name = origin
next to IRI press the Change button
CTRL+SPACE on URI
select the remote location
press Finish
press Save and Push
Again, from the Git Repositories tab:
right click on origin
select Configure Fetch...
on Ref mapping press the Edit (Advanced)...
press Add All Branches Spec
select the Force Update checkbox
press Finish
Again, from the Git Repositories tab:
right click on your local repository
select Properties
press New Entry...
enter the following two keys:
(1)
Key = branch.master.remote
Value = origin
(2)
Key = branch.master.merge
Value = refs/heads/master
分享到:
相关推荐
MyEclipse或Eclipse中使用Egit插件;(Eclipse中Egit插件的使用方法)
其他地方不好找,国外的下载也慢。Eclipse上安装GIT插件EGit
Eclipse中安装egit, 如何建立本地仓库, 连接远程仓库等
Eclipse上EGIT使用手册,
Eclipse上GIT插件EGIT使用手册.pdf
网上搜不到好的egit插件使用手册就自己去官网弄的,内含中文版和英文原版,支持目录查看
eclipse_SR2_indigo对应版本的离线egit插件下载,直接解压到eclispe目录,重启eclipse即可
Eclipse+Git+Maven项目 1 一、Maven安装 1 1、Maven安装 1 2、Maven插件安装 3 3、配置 Maven 5 二、Eclipse构建Maven项 6 1、建立Maven项目 6 2、配置Maven项目 9 三、Dynamic Web project转成Maven项目 15 ...
git for eclipse or myeclipse it's very useful for you trust me
n general EGit promises to support at least the latest two Eclipse releases. 下载单独安装egit插件 Eclipse 4.5.2 (Mars.2)
org.eclipse.egit.repository-3.3.2.201404171909-r,eclipse最新egit插件,绝对真实好用。
git离线版插件,egit,eclipse可直接安装,方便大家下载。
GitHub的Eclipse插件(EGit) GitHub一个强大的网站,可以管理自己的代码。 是一个属于自己的SVN。
eclipse、myeclipse的git插件Egit3.7.2。myeclipse2013版下link方式插件安装方式实测可用
Eclipse和MyEclipse安装和使用git(egit)图解笔记
eclipse中的egit插件,在eclipse中使用git的必备工具。
Eclipse上GIT插件EGIT使用手册
org.eclipse.egit.repository-2.3.1.201302201838-r.zip eclipse4.2 juno亲测可以实用,用来同步github项目。国内下载太慢,上传与大家分享
eclipse 中egit的安装,使用等
elipse egit 插件 使用git来pull push 需要配置的内容特别是master的2行