<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamatama_41</author_name>
  <author_url>https://blog.hatena.ne.jp/kamatama_41/</author_url>
  <blog_title>かまたま日記3</blog_title>
  <blog_url>https://kamatama41.hatenablog.com/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>結論から言うと、あるPull Requestがmasterにマージコミットされると、 直前のコミット*1と、Pull Requestの最後のコミットの二つが親コミットになっているので、最初の親をHEAD^で取得しHEADとのdiffを見る。 たとえばこのPRがマージされた場合の、masterの履歴がこんな感じ ここで以下のコマンドを打つ。HEAD^は18c4d8aなので、差分である今回のPRで変更されたファイル一覧が取得できる。 % git diff HEAD^..HEAD --name-only scripts/1.txt scripts/2.txt scripts/3.txt ちなみに、二…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamatama41.hatenablog.com%2Fentry%2F2016%2F10%2F08%2F235055&quot; title=&quot;GitHubのPull Requestで変更されたファイル一覧を取得する - かまたま日記3&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/k/kamatama_41/20161008/20161008234549.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-10-08 23:50:55</published>
  <title>GitHubのPull Requestで変更されたファイル一覧を取得する</title>
  <type>rich</type>
  <url>https://kamatama41.hatenablog.com/entry/2016/10/08/235055</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
