当前的git分支未显示在Eclipse软件包探索器中

发布于 2025-02-04 01:40:27 字数 336 浏览 2 评论 0原文

我已经选中了盒子“ 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤独陪着我 2025-02-11 01:40:27

我正在使用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.

Shown branch name after project delete and import

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文