当前的git分支未显示在Eclipse软件包探索器中
我已经选中了盒子“ git存储库对象” 和“ git Resources” 偏好中的一般> General>外观>标签装饰。同样在偏好中>版本控制(团队)> git> label装饰>文本装饰 i具有 “ {dirty:>} {name} {repository} {repository} ]“项目下的。
我还需要设置其他设置吗?这是在原始的工作区中创建项目的,在另一个Eclipse实例中,该实例将显示分支所应显示的。
I have checked the boxes "Git Repository Objects" and "Git Resources" in Preferences>General>Appearance>Label Decorations. Also in Preferences>Version Control (Team)>Git>Label Decorations>Text Decorations I have "{dirty:>} {name} [{repository }{branch}{ branch_status}]" under Projects.
Is there any other setting I need to set? This is in the original workspace where the project was created, in another Eclipse instance with a different workspace the branch is displayed as it should.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我正在使用STS 4(以Eclipse的支持)。我从STS 4(但不是磁盘)删除了ProjectManager(项目),
当我警告“包含与不同步的资源”的警告时,我将项目与F5在(软件包)Explorer中刷新。
然后,我再次导入该项目,然后看到了分支名称,如下所示。
I'm using STS 4(backed by Eclipse). I deleted ProjectManager(project) from STS 4 (but not from disk),
When I had a warning of "contains resources that are not in sync with", I refreshed the project with F5 in the (package)Explorer.
Then I imported the project again and I'm seeing the branch name as shown below.