<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ihcomega</author_name>
  <author_url>https://blog.hatena.ne.jp/ihcomega/</author_url>
  <blog_title>よこなのへたのよこずき</blog_title>
  <blog_url>https://ihcomega.hatenadiary.com/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>Gitの本を出しておきながらアレだけど、サブモジュールのことをちゃんとしっかりはよく分かってない。ある日、いつものように git status したらサブモジュールに差分があるではないか。 ※本記事でとりあげる例において、スーパープロジェクト*1から見たbats/lib/batsがサブモジュールである（GitHub - bats-core/bats-core: Bash Automated Testing Systemおよびその兄弟的なリポジトリたちを使っている）。 $ git status On branch pyrsia-1448 Changes not staged for commit…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fihcomega.hatenadiary.com%2Fentry%2Fgit-submodule-dirty&quot; title=&quot;Git - サブモジュールがdirtyだと言われたので直した（コミットハッシュが&amp;quot;XXX-dirty&amp;quot;） - よこなのへたのよこずき&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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/ihcomega/20230105/20230105112658.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-04 12:18:18</published>
  <title>Git - サブモジュールがdirtyだと言われたので直した（コミットハッシュが&quot;XXX-dirty&quot;）</title>
  <type>rich</type>
  <url>https://ihcomega.hatenadiary.com/entry/git-submodule-dirty</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
