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

在本地工程目录找到config文件

比如工程文件位于../workspace/android/helloworld
到该目录下,进入.git文件夹,会看到一个config文件

修改config文件内容为:

[core]
    repositoryformatversion = 0
    filemode = false
    logallrefupdates = true
[branch "master"] 
    remote = origin 
    merge = refs/heads/master 
[remote "origin"] 
    url = 【远程仓库的url】
    fetch = +refs/heads/*:refs/remotes/origin/*

再执行pull命令

你可能感兴趣的:(github,push,pull,branch)