Eclipse git 错误:The current branch is not configured for pull

    xiaoxiao2025-04-23  12

    1.在本地工程目录找到config隐藏文件:D:\你的Git文件目录\.git\config

    2.修改config文件内容为:

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

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

    转载请注明原文地址: https://ju.6miu.com/read-1298351.html
    最新回复(0)