Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Git Ignore These Files

Tags:

git

gitignore

I'm having 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.

like image 292
Kyle Decot Avatar asked Aug 09 '11 01:08

Kyle Decot


1 Answers

Just add

/solr/data

to your .gitignore.

Assumed directory layout:

.git
.gitignore
solr/data/
other/
folders/
README.txt
...
like image 183
miku Avatar answered Oct 15 '22 07:10

miku