<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>git の小ネタ。例えば次のようにタグを付けているとき： commit #3 &lt;--- v1.0.0 / latest | commit #2 &lt;--- v0.9.0 | commit #1 &lt;--- v0.8.0 commit #3 に紐付けられたすべてのタグ、つまりは v1.0.0 と latest を取得したいときどうすればよいか？という問題。 答えは簡単で、 --points-at オプションを使うこと。 $ git tag --points-at &lt;commit #3&gt; v1.0.0 latest これだけだと短いので、レシピを紹介する。最新のタグを取得するには、次のようなコマンドを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2026%2F06%2F23%2F224112&quot; title=&quot;git で特定の commit に紐付けられたすべてのタグを列挙したい - なつねこメモ&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>2026-06-23 22:41:12</published>
  <title>git で特定の commit に紐付けられたすべてのタグを列挙したい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2026/06/23/224112</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
