[英]No files changed but Git Eclipse project explorer indicates there are
Eclipse indicates I have files changed under my project root folder, but clearly there aren't any. Eclipse指示我的项目根文件夹下的文件已更改,但显然没有任何文件。 To help you see the issue I've attached a screen shot below 为了帮助您查看问题,我在下面附上了一个屏幕截图
See that >
mark next to my project root folder? 看到>
我的项目根文件夹旁边的标记? That indicates I have changed files, but none of the sub-folders have that mark. 这表明我已经更改了文件,但是所有子文件夹都没有该标记。 This is important because now it does not let me switch to another branch unless the changes are committed. 这很重要,因为除非更改已提交,否则现在不允许我切换到另一个分支。
Here's the steps to reproduce my problem (at least how it happened on my machine): 以下是重现我的问题的步骤(至少在我的计算机上是如何发生的):
>
mark, but if I look into the files they are identical to the remote origin/develop branch that I cloned off before - NOT CHANGED. 只是发现我在功能分支中更改过的文件都已用>
标记标记为已更改,但是如果我查看这些文件,则它们与我之前克隆的远程Origin / develop分支相同-未更改。 >
marks are gone except for the one pointing to my project root folder. 然后最后所有的>
标记都消失了, 除了一个指向我的项目根文件夹的标记。 Is this an Eclipse related issue? 这是与Eclipse相关的问题吗? Or is there something I did wrong? 还是我做错了什么? Please help, I'm lost! 请帮助,我迷路了!
As i can see from your image there is one untracked file in your project thats why you are getting >
sign on root of your project. 正如我从您的图像中看到的那样,您的项目中有一个未跟踪的文件,这就是为什么要获取>
在项目的根目录上签名。
To clean it: 清洁它:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.