2
我得到了很多的都是這樣在我的Rails應用程序未跟蹤/修改的文件:用Rails思考獅身人面像:我應該將這些文件包含在我的git push中嗎?
db/sphinx/development/user_core.spa
db/sphinx/development/user_core.spd
db/sphinx/development/book_core.sph
db/sphinx/development/book_core.spi
db/sphinx/development/book_core.spp
db/sphinx/development/book_core.sps
等
我應該包括這些時,我承諾,推動在混帳,或者我應該把db/sphinx/development/*放在我的.gitignore文件中?得到的答案below--
後
--edit我最終加入這個對我的.gitignore文件...
# Ignore certain Sphinx files
/db/sphinx/*
/config/*.sphinx.conf
...然後做什麼,在此推薦:Ignore files that have already been committed to a Git repository