<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swfz</author_name>
  <author_url>https://blog.hatena.ne.jp/swfz/</author_url>
  <blog_title>notebook</blog_title>
  <blog_url>https://swfz.hatenablog.com/</blog_url>
  <categories>
    <anon>command</anon>
    <anon>Git</anon>
  </categories>
  <description>コミット粒度に気を付けてコメントもしっかり書いておくと、PR作成してどんなことやったかを示す場合にコミットハッシュとコメントのリストを貼り付けることがある 以前コード結構書いていたときは手動でやっていた 最近やろうと思ったら意外と作業がだるかったのでワンライナーで貼り付けられるようにした 下記のスクリプトをzshやbashのスクリプトとして登録しておく(aliasでも良い) function gll(){ git log --reverse $(git merge-base $(git for-each-ref --format='%(refname:short)' refs/heads | …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fswfz.hatenablog.com%2Fentry%2F2023%2F04%2F09%2F191620&quot; title=&quot;Git logでPRに貼り付ける用のワンライナー - notebook&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>2023-04-09 19:16:20</published>
  <title>Git logでPRに貼り付ける用のワンライナー</title>
  <type>rich</type>
  <url>https://swfz.hatenablog.com/entry/2023/04/09/191620</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
