【发布时间】:2016-09-11 18:49:09
【问题描述】:
I am using
/*/.settings/*
或/*/.settings/
忽略eclipse设置。
abc.host.client/.settings/org.eclipse.jdt.core.prefs
but unable to ignore the following files.
abc.host.client/.settings/org.eclipse.wst.common.project.facet.core.xml
abc.host.client/.settings/org.eclipse.wst.common.component
我使用的是 git 版本 1.7.1。我可以知道是什么问题吗?谢谢。
【问题讨论】:
-
你是什么时候把这个添加到
.gitignore的? -
..dt.core.prefs 已经提交到 Git 服务器。 ..common.project.facet.core.xml & ..common.component 是新修改的。但我已经尝试过 git rm -r --cached
。可惜没用。 -
在许多情况下,这些设置文件夹最好与您的队友共享并提交。