Team——>Remote——>Configure Fetch from Upstream…
Team——>Remote——>Configure Push to Upstream…
都变灰了,不能点击配置。
一直找不到原因,后来想了想,应该在.git目录下有配置文件,保存这个信息。果然找到project_name/.git/config,打开是如下内容:
[core]
repositoryformatversion = 0filemode = falselogallrefupdates = true而正常的项目,还有两项内容,如红色字体显示
[core]
repositoryformatversion = 0filemode = falselogallrefupdates = true[remote "origin"]url =https://github.com/peterpanzsy/BotwallAdmin.gitfetch = +refs/heads/*:refs/remotes/origin/*[branch "master"]remote = originmerge = refs/heads/master
按照正常项目修改这个config文件后,EGIT正常了。