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

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

问题描述

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



alt text http://i48.tinypic.com/fna7ex.jpg

解决方案

这个页面应该给你一个很好的故事,这些图标对于日食中的GIT来说意味着



引用摘要:




脏(文件夹) - 文件夹下方至少有一个文件是脏的;这意味着它在工作树中没有在索引中或存储库中进行更改。



tracked - 该资源是Git存储库已知的。

untracked - Git资源库不知道资源。



ignored - 资源被Git团队提供者忽略。这里只有Team - > Ignored Resources和derived标志下的首选项设置是相关的。 .gitignore文件不被考虑。



dirty - 资源在工作树中的变化,既不在索引中也不在存储库中。



staged - 资源具有添加到索引的更改。不是只能在资源的上下文菜单上的提交对话框上添加索引。



部分分阶段 - 资源有更改,添加了到索引以及另外在工作树中的变化,既不在索引中也不在存储库中。



添加 - 资源尚未跟踪,但添加到Git存储库。



已删除 - 资源已暂停从Git存储库中删除。



冲突 - 合并冲突存在该文件。



假设有效 - 资源具有假设不变标志。这意味着Git将停止检查工作树文件的可能修改,因此您需要手动取消设置该位以在更改工作树文件时告知Git。可以通过菜单操作Team->假设不变(或者在命令行上使用git update-index --assume - 未更改)来启用此设置。



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?

alt text http://i48.tinypic.com/fna7ex.jpg

解决方案

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

A quoted summary:

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.

tracked - The resource is known to the Git repository.

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

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 - 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.

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

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

conflict - A merge conflict exists for the file.

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天全站免登陆