解决The current branch is not configured for pull No value for key branch.master.merge found in confi

1.在本地工程目录找到config文件(我的是在E:\rocket\rocket\.git);

2.修改config文件内容为:

[core]
    repositoryformatversion = 0
    filemode = false
    logallrefupdates = true
    [branch "master"] 
        remote = origin 
        merge = refs/heads/master 
    [remote "origin"] 
        url = https://github.com/androidzhaoxiaogang/rocket.git   (修改为自己的url)
        fetch = +refs/heads/*:refs/remotes/origin/*

 

3.再执行pull方法,发现工作ok了

 

http://blog.csdn.net/androidzhaoxiaogang/article/details/16859099

posted @ 2015-12-24 11:04  果冻迪迪  阅读(495)  评论(0编辑  收藏  举报