How do I ignore this Eclipse file in Git?

为君一笑 提交于 2019-12-24 07:26:53

问题


I tried adding it to my global .gitignore but it is still showing up as an untracked file when I do git status.

researchProject/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator (4).launch

I disabled the JavaScript validator because it kept giving my build errors -- the only solution I found was to disable it.


回答1:


add the following lines to your .gitignore file:

.project
.settings
.classpath
.metadata

and for your case also

.externalToolBuilders

and you should be good to go.

Do not add .project and .classpath to .gitignore if you are working on an eclipse-specific project.



来源:https://stackoverflow.com/questions/15948761/how-do-i-ignore-this-eclipse-file-in-git

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!