<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>heleeen</author_name>
  <author_url>https://blog.hatena.ne.jp/heleeen/</author_url>
  <blog_title>helen's blog</blog_title>
  <blog_url>https://helen.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>helen.hatenablog.com の続編です上記の方法は１つのブランチで作業されていて 間に別の案件のコミットが含まれていない場合に使えるものであり、 間に無関係なコミットが混ざっているとその差分もdiffに含まれてしまうため使えません。そこで ローカルでブランチを作ってHEADを移動し、 関係ないコミットはrevertすればいいのでは！？と思いやってみました。 ブランチを作る理由 ・作業完了後にブランチを削除すれば不要な作業を残さずに済むため ・そのままやるとgit resetなど無駄な作業が増えそうな予感 HEADを移動する理由 ・関係する案件のコミットに後続コミットがあるとrev…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhelen.hatenablog.com%2Fentry%2F2016%2F01%2F10%2F230551&quot; title=&quot;git revertがgit diffにも役立ってくれた素敵な話 - helen&amp;#39;s blog&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>http://cdn-ak.f.st-hatena.com/images/fotolife/h/heleeen/20160108/20160108215415.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-10 23:05:51</published>
  <title>git revertがgit diffにも役立ってくれた素敵な話</title>
  <type>rich</type>
  <url>https://helen.hatenablog.com/entry/2016/01/10/230551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
