I'm h开发者_如何学编程aving a little trouble figuring out how to ignore all of these files that are created w/ Solr/Sunspot.
Basically I want to ignore everything inside of solr/data
which includes a lot of folders, subfolders, and files.
Just add
/solr/data
to your .gitignore
.
Assumed directory layout:
.git
.gitignore
solr/data/
other/
folders/
README.txt
...
You should be able to do /solr/data
or put a .gitignore
file inside solr/data and just put *
.
Note that you can't ignore things that have already been committed.
精彩评论