eclipse pull提示the current branch is not configured for pull
来源:互联网 发布:热门的数据库研究方向 编辑:程序博客网 时间:2024/06/05 09:45
今天在将本地代码commit,然后push到github后,误删了本地代码文件,想通过pull同步github服务器与eclipse的代码,也是第一次进行pull操作,然而在eclipse中悬选择了项目后,team-pull,提示the current branch is not configured for pull,no value for key remote.origin.url found in configuration,记录下解决方法:
根据提示知道,config文件中缺少了remote.origin.url参数,则在eclipse-window-preferences,找到git-configuration-repository settings,repository选择当前项目,可查看到当前config的配置,此时一般只有一个core项参数,需要添加branch和remote参数,按下图添加
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
remote = master
merge = refs/heads/master
[remote "master"]
url = git服务器上该项目的地址
fetch = +refs/heads/*:refs/remotes/origin/*
注:以上标紫色的字段需保持一致,否则pull还是会提示找不到url,可以填origin或master或其他已建分支;url地址自定义,我填写的是自己项目在git服务器上的地址。
如果是出现提示:the current branch is not configured for pull,no value for key branch.modify.merge found in configuration.则是因为在config文件中没有创建branch,仅需要在config文件中添加branch参数:
[branch "xxx"]
remote = origin
merge = refs/heads/xxx
- eclipse pull提示the current branch is not configured for pull
- Eclipse使用GIT进行pull时候的错误 : The current branch is not configured for pull
- 在eclipse中执行team->pull出现the current branch is not configured for pull
- the current branch is not configured for pull
- Eclipse git 错误:The current branch is not configured for pull
- eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found
- eclipse>>GitHub管理项目出现异常The current branch is not configured for pull No value for key branch解决方法
- eclipse git报错git The current branch is not configured for pull No value for key branch.master.merge
- 解决The current branch is not configured for pull No value for key branch.master.
- 解决The current branch is not configured for pull No value for key branch.master.m
- 已解决:The current branch is not configured for pull No value for key ...(for eclipse)
- eclipse中的git pull时出现 “the current branch is not configured.....”
- 【JAVA】Eclipse中使用git进行pull远程代码,报错The current branch is not configured for pull No value for key branc
- 解决The current branch is not configured for pull No value for key branch.master.merge found in config
- The current branch is not configured for pull No value for key branch.master.merge found in configur
- 解决The current branch is not configured for pull No value for key branch.master.merge found in confi
- egit 出现问题 The current branch is not configured for pull No value for key branch.master.merge found i
- The current branch is not configured for pull No value for key branch.master.merge found in configur
- Base64处理byte[ ]和base64字符串之间的转换
- 选择排序
- File--各种文件操作
- Python文件操作,open读写文件,追加文本内容
- IT 界求职分析
- eclipse pull提示the current branch is not configured for pull
- https相关、http相关
- HOG 特征的提取--基于scikit-image
- 引用包里面的工具类
- java并发相关
- GC参数
- 微服务
- python学习笔记5
- Spring 注解 事务