<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oovu70</author_name>
  <author_url>https://blog.hatena.ne.jp/oovu70/</author_url>
  <blog_title>技術めも</blog_title>
  <blog_url>https://oovu70.hatenadiary.org/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>中身がない空のディレクトリをgitの管理対象にしたい場合があります。 gitは空のディレクトリを管理対象としてくれません。やり方は簡単で、管理対象にしたい空ディレクトリを作り、その中に.gitkeepを作成するだけです。 mkdir target touch target/.gitkeep これは.gitkeepに特別な意味があるわけではなく（と思っている）、ディレクトリの中身を作っているというだけですね（だと思う）。前は.gitignoreでやっていたそうですが、ファイル名からみてもおかしいので、.gitkeepを使う方が良さそうですね。 参考にした記事 http://memo.yomuka…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foovu70.hatenadiary.org%2Fentry%2F20111108%2Fp1&quot; title=&quot;空のディレクトリをgitの管理対象にするには - 技術めも&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-11-08 00:00:00</published>
  <title>空のディレクトリをgitの管理対象にするには</title>
  <type>rich</type>
  <url>https://oovu70.hatenadiary.org/entry/20111108/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
