LoginSignup
25
9

More than 5 years have passed since last update.

.keepファイルは何のために存在するの?

Posted at

railsで.keepというファイルを見かけました。これはgitで空ディレクトリを管理対象に含めるために、作成するらしいです。.gitkeepというのもあるみたいです。

gitでは空のディレクトリは管理対象に含まれないので、.keepなどのダミーファイルを置くことで対策しています。

25
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
25
9