开发者

How to Git Ignore These Files

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜