<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zetamatta</author_name>
  <author_url>https://blog.hatena.ne.jp/zetamatta/</author_url>
  <blog_title>標準愚痴出力</blog_title>
  <blog_url>https://zetamatta.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>本件を実行する前に git clone でバックアップを取っておきましょう あらかじめ、全commitの履歴を cherry-pick するスクリプトを作成しておく git log --pretty=&quot;format:%H&quot; | gawk '/./{ line[i++]=$0 } END{ while(--i &gt;= 0){ print &quot;git cherry-pick &quot;,line[i]} }' &gt; pick.sh /./ はEOF付近にできがちな空行を排除するためのもの tac を使った方が短くなるが、git for Windows の MSYS には tac が入っていないようなので、gaw…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzetamatta.hatenablog.com%2Fentry%2F2018%2F01%2F15%2F005233&quot; title=&quot;git履歴の先頭に、後から「空commit」を割り込ませる - 標準愚痴出力&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-01-15 00:52:33</published>
  <title>git履歴の先頭に、後から「空commit」を割り込ませる</title>
  <type>rich</type>
  <url>https://zetamatta.hatenablog.com/entry/2018/01/15/005233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
