【发布时间】:2016-08-16 14:22:42
【问题描述】:
我正在使用带有源树应用程序的 git 我想忽略文件夹文件 META-INF 的内容,例如文件 persistence.xml
workspace\Data\src\META-INF\persistence.xml
我把路径放在 .gitignore 文件中
#Ignore META-INF
*/*/src/META-INF/*
但是git没有忽略文件,如何忽略这个文件夹中的所有文件META-INF
【问题讨论】: