开发者

How to Git Ignore These Files

开发者 https://www.devze.com 2023-03-26 15:26 出处:网络
I\'m h开发者_如何学编程aving a little trouble figuring out how to ignore all of these files that are created w/ Solr/Sunspot.

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

精彩评论

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