英文:
Intellij ignores .gitignore file - gray icon, no sign, slash circle, slash symbol
问题
因为某种原因,IntelliJ忽略了我的.gitignore文件。.idea文件夹等等都被跟踪。有人知道这是为什么吗?底部右下角灰色图标的含义是什么?
英文:
For some reason Intellij ignores my .gitignore file. The .idea folder and so on are tracked. Does anyone have any idea why this is the case? What is the meaning of the gray icon in the bottom right corner?
答案1
得分: 2
不忽略
如果您在您的 .gitignore 文件中有这些条目,只要它们在您的仓库中尚未被版本化,它们就应该起作用:
.idea/
target/
灰色图标
那个灰色十字图标只是 IntelliJ 中用于 .gitignore 文件的常见图标。我的项目中也有这个图标。
英文:
Not Ignoring
If you have these entries in your .gitignore it should work as long as they aren't versioned already in your repo:
.idea/
target/
Gray Icon
That gray cross icon is just the common icon used for .gitignore files on IntelliJ. My projects have it too.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论