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

后端 未结 17 1082
太阳男子
太阳男子 2020-11-30 16:44

I get this error when I try to pull from remote repository using Egit team>pull

The current branch is not configured for pull No value for key branc

17条回答
  •  囚心锁ツ
    2020-11-30 17:07

    edit the config file in your repository .git folder like this.

    replace https://github.com/your/uri to your github repository uri.

    good luck.

    [core]
        symlinks = false
        repositoryformatversion = 0
        filemode = false
        logallrefupdates = true
    [branch "master"]
        remote = origin
        merge = refs/heads/master
    [remote "origin"]
        url = https://github.com/your/uri
        fetch = +refs/heads/*:refs/remotes/origin/*
    

    ps: use idea, forget eclipse

提交回复
热议问题