git branch --all显示过时的遥控器

时间:2013-10-24 19:16:28

标签: git list branch

我将git配置中的一个遥控器的名称从labee更改为EE,现在git branch --all显示以下内容:

* master
  remotes/EE/master
  remotes/labee/master
  remotes/origin/HEAD -> origin/master
  remotes/origin/grunt-3.0-stable
  remotes/origin/master

我调用了以下命令:

git prune
git fetch -p

但他们都没有帮助。我能做什么?我的.git/config如下:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = false
[remote "origin"]
    url = https://github.com/gruntjs/grunt-contrib-watch.git
    fetch = +refs/heads/*:refs/remotes/origin/*
    pushurl = https://github.com/gruntjs/grunt-contrib-watch.git
    gtPruneOnFetch = true
    gtAlwaysFetchAllTags = true
[remote "EE"]
    url = git@github.com:EE/grunt-contrib-watch.git
    fetch = +refs/heads/*:refs/remotes/EE/*
[branch "master"]
    remote = origin
    merge = refs/heads/master

请注意,这是 NOT 要求过时分支的问题之一,它是关于不存在的遥控器。

我的git版本是1.8.3.4 (Apple Git-47),是OS X 10.9 Mavericks的默认版本。

0 个答案:

没有答案
相关问题