[英]eclipse error represented by a small question mark attatched to file icons
what causes files and folders in eclipse to have a tiny question mark attatched to them? 是什么导致Eclipse中的文件和文件夹带有一个很小的问号? also there is a label besides the project name that announces "[NO HEAD]".
除项目名称外,还有一个标签宣布“ [NO HEAD]”。 What does it mean?
这是什么意思?
Both things are related to Git : 两者都与Git有关:
[NO HEAD]
means that the project is contained in a new Git repository where nothing has been committed yet and therefore there is no branch yet . [NO HEAD]
表示该项目包含在新的Git存储库中 ,该存储库尚未提交任何内容 ,因此尚无分支 。 ?
?
文件 have not yet been added (to the staging area) in Git. The first commit creates the master branch and turns [NO HEAD]
into [master]
. 第一次提交将创建master分支,并将
[NO HEAD]
转换为[master]
。 Since [NO HEAD]
is the technically correct term, but misleading, newer EGit versions display [master]
even before the first commit. 由于
[NO HEAD]
是技术上正确的术语,但具有误导性,因此即使在首次提交之前,较新的EGit版本也会显示[master]
。 So obviously, you are using an outdated version. 显然,您使用的是过时的版本。 Please upgrade .
请升级 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.