【发布时间】:2012-01-10 15:46:33
【问题描述】:
我正在使用 Flash Builder 4.6 (Eclipse 3.7) 和 Git(eGit 插件)。
我的项目在“构建路径 > 源路径”下配置了一些额外的源文件夹。当我运行提交时,出于某种原因,eGit 会看到这些外部文件并希望使用以下路径添加和提交它们:
[source path] fruit/com/company/Apple.as
[source path] fruit/com/company/Banana.as
显然,他们不应该被 eGit 考虑在项目之外;尽管如此,我在我的 .gitignore 中尝试了各种模式来忽略它们,但没有任何效果:
fruit
[source*
[source path] fruit/com/company/Apple.as
\[*
使用 msysgit,命令git commit -a --dry-run 不会尝试提交这些文件,因此它似乎是 eGit / Flash Builder 的事情。
我怎样才能忽略这些文件?
【问题讨论】:
-
你尝试了哪些 gitignore 模式?
-
@VonC 我试过了:fruit [source* [source path]fruit/com/company/Apple.as [* ... 嗯,我会把它放在问题中,因为换行符不要'不出现在这里
标签: eclipse git flash-builder egit flashbuilder4