<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakashibata</author_name>
  <author_url>https://blog.hatena.ne.jp/kakashibata/</author_url>
  <blog_title>かかしのアウトプット練習</blog_title>
  <blog_url>https://kakashibata.hatenablog.jp/</blog_url>
  <categories>
    <anon>Git</anon>
  </categories>
  <description>試した環境 Windows 11 Home 23H2 git version 2.44.0.windows.1 本題 git でリモートリポジトリからタグを1つだけ取得するには以下のようなコマンドで行います。 git fetch --no-tags &lt;remote_name&gt; tag &lt;tag_name&gt; ポイントはタグ名の前にtagと付けることと、--no-tagsオプションを付けることです。 例えばタグ名がv2.0だとして、git fetch --no-tags origin tag v2.0と実行すると以下のように出力されます。 From https://.... * [new tag]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakashibata.hatenablog.jp%2Fentry%2F2024%2F03%2F24%2F230738&quot; title=&quot;git でリモートリポジトリからタグを1つだけ取得する - かかしのアウトプット練習&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>2024-03-24 23:07:38</published>
  <title>git でリモートリポジトリからタグを1つだけ取得する</title>
  <type>rich</type>
  <url>https://kakashibata.hatenablog.jp/entry/2024/03/24/230738</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
