<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tee-talog</author_name>
  <author_url>https://blog.hatena.ne.jp/tee-talog/</author_url>
  <blog_title>ひびのログ</blog_title>
  <blog_url>https://www.tee-talog.com/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>Bash</anon>
  </categories>
  <description>履歴がー……見たい！ Git で直前にいたブランチに戻るのは git checkout - で出来ますが、それ以前って見ることが出来ないですよね。 でも、見たい。 そこでシェル芸ですよ シェル芸の定義以下略。 ほぼ参考 URL からのパクリですが、Mac で動かなかったりしたので変えました。 git reflog \ | grep -E '^.* +.* +checkout: +' \ | grep 'moving from' \ | awk '{ print $8 }' \ | uniq そこからチェックアウトしたい みんな大好き peco で選択してチェックアウトするようにしました。 gi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.tee-talog.com%2Fentry%2F2019%2F03%2F06%2F225309&quot; title=&quot;Git のチェックアウト履歴を確認する＆そこから選択してチェックアウト - ひびのログ&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-03-06 22:53:09</published>
  <title>Git のチェックアウト履歴を確認する＆そこから選択してチェックアウト</title>
  <type>rich</type>
  <url>https://www.tee-talog.com/entry/2019/03/06/225309</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
