Github问题

错误提示:
The current branch is not configured for pull No value for key branch.master.merge found in configuration

方法1:
Go to Window > Preferences > Team > Git > Configuration.
Select the Repository Settings tab and then the repository that represents your project.
Click "New Entry..."
The key is remote.origin.url
The value is the url you copy from github. It's usually offered predominantly on whichever site you register with.

方法2:

You could do git pull origin master to tell git the explicit branch you want to pull or you add this to your .git/config:

[branch "master"]
remote = origin
merge = refs/heads/master
When you push to master for the first time, add the -u switch (git push -u origin master). This will set everything up automatically.

因为使用了Myeclipse,而不是直接git命令,放弃

方法3:

Expand your git repository tree from 'Git Repositories' view.

Right click on 'Remotes' and select 'Create Remote'

Select radio button 'Configure fetch' -> 'Ok'

Select 'Change' opposite 'URI' text box

Enter your git repository details and click 'Finish'

Select 'Save'

完美成功
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值