如何Git忽略这些文件 [英] How to Git Ignore These Files
本文介绍了如何Git忽略这些文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在计算如何忽略所有使用Solr / Sunspot创建的文件时遇到了一些麻烦。基本上我想忽略 solr / data
里的所有内容,其中包含大量的文件夹,子文件夹和文件。
解决方案
只需添加
/ solr / data
添加到您的 假设的目录布局: 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 Just add to your Assumed directory layout:
这篇关于如何Git忽略这些文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! .gitignore $ c $
.git
.gitignore
solr / data /
other /
文件夹/
README.txt
...
solr/data
which includes a lot of folders, subfolders, and files. 解决方案 /solr/data
.gitignore
..git
.gitignore
solr/data/
other/
folders/
README.txt
...
查看全文