Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.7k views
in Technique[技术] by (71.8m points)

idea中显示的git 分支的问题

我使用IDEA开发JAVA,一个工程下有很多模块(都是不相关的项目)最近两天出现个问题,我当前正在开发的模块是 sharding 但是右下角显示的分支并不是该模块的分支,点击后弹出显示的 repository 里也没有该模块,我要如何操作能将右下角的git分支显示为模块的sharding正处于的分支
image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

其实,这是因为他是检出的 tag.虽然,这个 tag 可能和当前的某一个分支的 head 相同,但是它检出的是啥,显示的就是啥.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...