<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chamotarooo</author_name>
  <author_url>https://blog.hatena.ne.jp/chamotarooo/</author_url>
  <blog_title>chamotaroooのブログ</blog_title>
  <blog_url>https://chamotaro.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>この記事で分かること - 世界で一意なのはコミットハッシュだけ。branchやtagは「ただのラベル」 - ハッシュが一意になる理由を、手を動かして確かめる - その一意はどこまで信じていいのか（SHAttered事件まで） はじめに 他人のリポジトリで見た a1b2c3d と、git log に出る自分の手元の a1b2c3d。 これ、「中身も履歴もまったく同じコミットだ」と言い切れますか？ 一方で、main ブランチは世界にひとつ……ではありません。 世界中に main を持つリポジトリは無数にあります。 gitには「名前」と呼べるものがいくつもありますが、世界で一意なのは実はコミットハッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2Ftech%2Fgit-commit-hash-uniqueness&quot; title=&quot;git のコミットハッシュは、なぜ世界で一意と言えるのか - chamotaroooのブログ&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>https://pub-1f12ed103a9e49afa3ad9b2128430261.r2.dev/d98ed90f38eba04522d64a8609dd8a20.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-10-25 10:08:43</published>
  <title>git のコミットハッシュは、なぜ世界で一意と言えるのか</title>
  <type>rich</type>
  <url>https://chamotaro.hatenablog.com/entry/tech/git-commit-hash-uniqueness</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
