Egit 不同步

发布于 2024-10-06 21:09:59 字数 200 浏览 2 评论 0原文

我发生了一次小事故,但所有数据都安全存储。但现在,当我尝试打开我的工作区 EGit 时,似乎并没有出现一点不同步。
图标根本就不正确。
许多文件被标记为脏“>”,还有一些被标记为暂存“*”,无论这意味着什么......

有没有办法让文件同步再次使用我的本地存储库?

提前致谢 罗兰

I had a small crash but had all the data in safe storage. But now when I try to open my workspace EGit doesn't seems to have got a little bit out of sync.
Icons are simply put not correct.
A lot of files are marked with as dirty ">" and a few as staged "*" whatever that means...

Is there a way to get files into sync with my local repository again?

Thanks in advance
Roland

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

梦毁影碎の 2024-10-13 21:09:59

如果完全刷新还不够,那么极端的解决方案是:

  • 删除项目(仅从工作区中删除,而不是从磁盘中)
  • 重新导入工作区中的项目

,然后查看 EGit 是否仍然显示与文件不一致地位。


注意:请参阅标签装饰

替代文字

  • (>) - 资源在工作树中发生了更改,但这些更改既不在索引中,也不在存储库中。
  • 已暂存 (*) - 资源发生更改并已添加到索引中。请注意,目前只能通过资源的上下文菜单在提交对话框中添加对索引的更改。
  • 部分暂存 (*>) - 资源已添加到索引中的更改以及工作树中既未到达索引也未发生的其他更改已提交到存储库。

If a full refresh is not enough, then an extreme solution would be to:

  • delete the project (only from the workspace, not from the disk)
  • re-import the project in the workspace

, and see if the EGit still shown incoherences with the files status.


Note: see label decorations:

alt text

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