2010-10-21 空のディレクトリを Git 管理下にするには .gitignore でなく .gitkeep が良い - Not .gitignore but .gitkeep to Bring Empty Directry under Controll Git .gitignore と .gitkeep とを使い分けるためです。 - To use differently .gitignore and .gitkeep. $ rails new hoge # ... # create lib/tasks # create lib/tasks/.gitkeep # create log # ... Rails で使われていますね。 - It used by Rails.@idesaku さんに教えていただきました。ありがとうございます! - @idesaku san told me, thanks!