Eclipse不显示git存储库状态 [英] eclipse not showing git repository status

查看:700
本文介绍了Eclipse不显示git存储库状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Eclipse Oxygen.1a,发行版4.7.1a。早些时候我的日食运行缓慢,并且我正在尝试一些加快它的速度(例如,从该线程中禁用自动更新,禁用验证等):



之前,针对它用来显示[master]的项目名称,使用向上或向下箭头->指示与远程回购。与git repo相比,它还显示了一个>符号,表明文件已更改。
它不再显示任何这些属性。 (下图是以前的样子-删除了项目名称):



什么我到目前为止尝试过,我将eclipse属性恢复为其默认值,并且还尝试通过Google搜索此问题,但无济于事。
如果有人遇到过类似的问题并且可以提供帮助,将不胜感激。

解决方案

转到

首选项->一般->外观->标记装饰

以查看是否启用了 Git


we're using eclipse Oxygen.1a, release 4.7.1a. Earlier my eclipse was running slow and i was trying some things to speed it up(like disabling automatic updates, disabling validations etc. from this thread: How can you speed up Eclipse?). I also tried steps mentioned in few blogs. I dunno which exact thing did this, but now i can no more see the git sync status for my projects in package explorer view, it looks like this:

Whereas earlier, against the project name it used to show [master], up or down arrows -> indicating the sync status with remote repo. It also used to show a ">" sign indicating the file is changed when compared to git repo... It doesn't show any of these properties any more. (Below is an image how it used to look like earlier - project name removed):

What i tried so far, i restored eclipse properties to its defaults and also tried to google this issue, but to no avail. If anyone has faced similar issue and can help, that will be greatly appreciated.

解决方案

Go to
Preferences -> General -> Appearance -> Label decorations
to see if Git is enabled.

这篇关于Eclipse不显示git存储库状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆