<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohbarye</author_name>
  <author_url>https://blog.hatena.ne.jp/ohbarye/</author_url>
  <blog_title>valid,invalid</blog_title>
  <blog_url>https://ohbarye.hatenablog.jp/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>ohbarye Advent Calendar 2020</anon>
  </categories>
  <description>git commit コマンドでメッセージを入力する際、デフォルトでは # から始まる行は commit message から取り除かれる。この挙動を変更し、commit message にハッシュ # から始まるメッセージを残す方法について。 結論 git config で設定可能な以下のいずれかで対応できる。 core.commentChar に # 以外の文字、または auto を指定する commit.cleanup で cleanup mode をwhitespaceに指定する StackOverflowの以下の質問に詳しい。 stackoverflow.com なぜ消えるのか これ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fohbarye.hatenablog.jp%2Fentry%2F2021%2F03%2F09%2F235314&quot; title=&quot;git commit message でハッシュ # から始まるメッセージを残す - valid,invalid&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>2021-03-09 23:53:14</published>
  <title>git commit message でハッシュ # から始まるメッセージを残す</title>
  <type>rich</type>
  <url>https://ohbarye.hatenablog.jp/entry/2021/03/09/235314</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
