问题
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