Eclipse 中文件上的棕色星号图标是什么意思? [英] What does the brown asterisk icon on a file mean in Eclipse?

查看:60
本文介绍了Eclipse 中文件上的棕色星号图标是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Eclipse 的 git 插件.我的一些文件标有棕色星号.这是什么意思?我在哪里可以找到有关 Eclipse 中其余 git 图标含义的文档?

I am using the git plugin for Eclipse. Some of my files are marked with a brown asterisk. What does it mean? Where can I find documentation for what the rest of the git icons mean in Eclipse?

推荐答案

本页应该可以很好地了解图标对 Eclipse 中 GIT 的含义

This page should give you a good rundown of what the icons mean for GIT in eclipse

引用摘要:

dirty (folder) - 文件夹下至少有一个文件是脏的;这意味着它在工作树中的更改既不在索引中也不在存储库中.

dirty (folder) - At least one file below the folder is dirty; that means that it has changes in the working tree that are neither in the index nor in the repository.

已跟踪 - Git 存储库已知该资源.

tracked - The resource is known to the Git repository.

未跟踪 - Git 存储库不知道该资源.

untracked - The resource is not known to the Git repository.

ignored - Git 团队提供者忽略该资源.这里只有Team下的偏好设置->被忽略的资源和派生的"资源标志是相关的..gitignore 文件不考虑在内.

ignored - The resource is ignored by the Git team provider. Here only the preference settings under Team -> Ignored Resources and the "derived" flag are relevant. The .gitignore file is not taken into account.

脏 - 资源在工作树中的更改既不在索引中也不在存储库中.

dirty - The resource has changes in the working tree that are neither in the index nor in the repository.

staged - 资源已添加到索引中的更改.并不是说目前只能在资源上下文菜单上的提交对话框中添加到索引.

staged - The resource has changes which are added to the index. Not that adding to the index is possible at the moment only on the commit dialog on the context menu of a resource.

部分暂存 - 资源具有添加到索引的更改以及工作树中的额外更改,这些更改既不在索引中也不在存储库中.

partially-staged - The resource has changes which are added to the index and additionally changes in the working tree that are neither in the index nor in the repository.

已添加 - 资源尚未被 Git 存储库跟踪,但已添加到 Git 存储库中.

added - The resource is not yet tracked by but added to the Git repository.

removed - 暂存资源以从 Git 存储库中删除.

removed - The resource is staged for removal from the Git repository.

conflict - 文件存在合并冲突.

conflict - A merge conflict exists for the file.

assume-valid - 资源具有假设不变"旗帜.这意味着 Git 停止检查工作树文件是否有可能的修改,因此您需要手动取消设置该位以告诉 Git 当您更改工作树文件时.可以使用菜单操作 Team->Assume 未更改(或在命令行上使用 git update-index --assume-unchanged)打开此设置.

assume-valid - The resource has the "assume unchanged" flag. This means that Git stops checking the working tree files for possible modifications, so you need to manually unset the bit to tell Git when you change the working tree file. This setting can be switched on with the menu action Team->Assume unchanged (or on the command line with git update-index --assume-unchanged).

这篇关于Eclipse 中文件上的棕色星号图标是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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