<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazuhooku</author_name>
  <author_url>https://blog.hatena.ne.jp/kazuhooku/</author_url>
  <blog_title>kazuhoのメモ置き場</blog_title>
  <blog_url>https://kazuhooku.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>ブランチが大量にあると、git branch の結果を最終更新時間でソートして表示したくなりますよね。以下のワンライナーでできます。 (for i in `git branch | colrm 1 2` ; do echo `git log --date=iso8601 -n 1 --pretty=&quot;format:[%ai] %h&quot; $i` $i ; done) | sort -r git branch を最終更新の日付でソートするオプションがほしい Kazuho Oku on Twitter: &quot;git branch を最終更新の日付でソートするオプションがほしい&quot; ってツイートしたら、@l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhooku.hatenadiary.org%2Fentry%2F20130205%2F1360039870&quot; title=&quot; git branch の結果を時間順にソート - kazuhoのメモ置き場&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>2013-02-05 13:51:10</published>
  <title> git branch の結果を時間順にソート</title>
  <type>rich</type>
  <url>https://kazuhooku.hatenadiary.org/entry/20130205/1360039870</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
