<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>odmishien</author_name>
  <author_url>https://blog.hatena.ne.jp/odmishien/</author_url>
  <blog_title>カレーのライスをtech忘れ</blog_title>
  <blog_url>https://odmishien-tech.hatenablog.jp/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>よくsubmoduleのあるリポジトリで Pull したり Push したりしていたら知らず知らずのうちにsubmodule内にdiffができてしまっていて、それを消さないとずっとvscodeの左のバーに通知バッチみたいなものが出てしまって鬱陶しい これまでは素朴に cd /path/to/module/ としてから git reset --hard みたいなことをして差分を取り消していた しかしこれが大規模なプロジェクトになればなるほどsubmoduleの数も増えるのでこの作業を繰り返すことが増える つらい 調べてみると、やはり便利コマンドが存在していた blog.jubatus.tokyo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fodmishien-tech.hatenablog.jp%2Fentry%2F2019%2F06%2F06%2F110103&quot; title=&quot;git submodule foreach とかあるんだ - カレーのライスをtech忘れ&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>2019-06-06 11:01:03</published>
  <title>git submodule foreach とかあるんだ</title>
  <type>rich</type>
  <url>https://odmishien-tech.hatenablog.jp/entry/2019/06/06/110103</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
