<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>Node.js を使って GitHub Pages を作るときなど、必然的に minify されたファイルや コンパイル済みファイル、バイナリファイルなどを commit する必要がある場合があります。 そういったとき、テキストデータとして表示可能な物は、 diff に表示されてしまい、 本来 diff を見るべき物が埋もれてしまう場合もあり、なかなか面倒です。 そういったときは、 .gitattributes に下記設定を行うことで回避することが出来ます。 *.min.js linguist-generated こうしておくことで、下記の commit のように表示しないようにできます。 c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2018%2F08%2F10%2Fgithub-diff-not-show-diff&quot; title=&quot;GitHub で diff を表示しないようにしたい - なつねこメモ&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>2018-08-09 15:00:00</published>
  <title>GitHub で diff を表示しないようにしたい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2018/08/10/github-diff-not-show-diff</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
