gpt4 book ai didi

git - Egit "*"符号?

转载 作者:太空狗 更新时间:2023-10-29 13:18:23 28 4
gpt4 key购买 nike

你好,

我正在使用 eclipse 的 egit 插件。

文件图标上的“*”符号是什么意思?

文件已提交,但带有“git status”的文件被标记为“changes to be committed”,但是带有“git diff”的文件没有任何反应:/

截图如下:

http://imgur.com/hUyQN.png

问候

最佳答案

这意味着文件已准备好提交,请参阅 Icon decorations 部分在 eclipse 维基中

  • staged - The resource has changes which have been added to the index. Note that adding changes to the index is currently possible only in the commit dialog via the context menu of a resource.
  • partially-staged - The resource has changes which are added to the index and additional changes in the working tree that neither reached the index nor have been committed to the repository.

也就是说,已经被 git 跟踪的文件和对它们的更改是用 git add (-p) <file> 暂存的。

关于git - Egit "*"符号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3691693/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com