首页 > 系统服务 > 详细

Eclipse git pull 报Nothing to fetch 异常原因

时间:2014-12-04 17:17:22      阅读:3796      评论:0      收藏:0      [点我收藏+]

eclipse git pull 报错
// 使用这个配置会有 org.eclipse.jgit.api.errors.TransportException: Nothing to fetch. 异常
[core]
    repositoryformatversion = 0
    filemode = false
    logallrefupdates = true
[branch "master"]
        remote = origin
        merge = refs/heads/master
[remote "origin"]
        url = https://code.jd.com/tree_new_bee/MySinaWeiboApp.git
        fetch = +refs/heads/*:refs/remotes/origin/*

//问题解决:
// 使用这个配置就可以正常pull了       
[core]
        symlinks = false//增加了这一样,具体为什么还不知道,对这些参数也不了解, 希望有了解的朋友分享下。
        repositoryformatversion = 0
        filemode = false
        logallrefupdates = true
[branch "master"]
        remote = origin
        merge = refs/heads/master
[remote "origin"]
        url = https://code.jd.com/tree_new_bee/MySinaWeiboApp.git
        fetch = +refs/heads/*:refs/remotes/origin/*  

Eclipse git pull 报Nothing to fetch 异常原因

原文:http://www.cnblogs.com/treenewbee/p/4143135.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!