{"id":2947,"date":"2023-06-11T20:06:35","date_gmt":"2023-06-11T11:06:35","guid":{"rendered":"https:\/\/attacktube.com\/?p=2947"},"modified":"2023-06-25T20:01:09","modified_gmt":"2023-06-25T11:01:09","slug":"%e3%80%90github%e3%80%91tag%e3%82%92%e3%81%a4%e3%81%91%e3%82%8b","status":"publish","type":"post","link":"https:\/\/attacktube.com\/?p=2947","title":{"rendered":"\u3010Git\u3011tag\u3092\u3064\u3051\u308b"},"content":{"rendered":"\n<p>GitHub\u3067release\u3092\u3057\u3088\u3046\u3068\u3057\u305f\u3089tag\u3092\u3064\u3051\u305f\u5f8c\u3067\u306e\u307frelease\u304c\u3067\u304d\u308b\u307f\u305f\u3044\u3002<\/p>\n\n\n\n<p><strong>\u74b0\u5883<\/strong><br>Windows10(64bit)<br>Git bash<\/p>\n\n\n\n<pre><code>\n$ git tag &lt;tagname&gt;\n<\/code><\/pre>\n\n\n\n<p>\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3092version\u3068\u3057\u3066\u516c\u958b\u3059\u308b\u3068\u304d\u306b\u4f7f\u3046\u3002<br>tagname\u306b\u300cv1.0.0\u300d\u306a\u3069\u306eversion\u540d\u3092\u4ed8\u3051\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<br>\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-3461056110605997\" crossorigin=\"anonymous\"><\/script>\n<ins class=\"adsbygoogle\" style=\"display:block; text-align:center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3461056110605997\" data-ad-slot=\"3137443461\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n<br>\n\n\n\n<pre><code>\n$ git push --tags\n<\/code><\/pre>\n\n\n\n<p>\u30bf\u30b0\u3092\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306bpush\u3059\u308b\u3002<br>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b58\u5728\u3059\u308b\u3059\u3079\u3066\u306e\u30bf\u30b0\u304c\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre><code>\n$ git push origin &lt;tag-name&gt;\n<\/code><\/pre>\n\n\n\n<p>\u7279\u5b9a\u306e\u30bf\u30b0\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u3002<\/p>\n\n\n\n<pre><code>\n$ git tag -d &lt;tagname&gt;\n<\/code><\/pre>\n\n\n\n<p>\u6307\u5b9atagname\u30921\u3064\u6d88\u3059\u3002<\/p>\n\n\n\n<pre><code>\n$ git tag --list\nv1.0.0\nv1.0.1\nv1.0.2\nv1.0.3\n<\/code><\/pre>\n\n\n\n<p>\u73fe\u5728\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b58\u5728\u3059\u308b\u3059\u3079\u3066\u306e\u30bf\u30b0\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre><code>\ngit tag &lt;tag\u540d&gt; &lt;\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5&gt;\n<\/code><\/pre>\n\n\n\n<p>\u300cMerge pull request\u300d\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6301\u3064\u30b3\u30df\u30c3\u30c8\u5bfe\u3057\u3066\u30bf\u30b0\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3042\u308b\u3002\u300cMerge pull request\u300d\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u30b3\u30df\u30c3\u30c8\u306f\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5\u3067\u8b58\u5225\u3059\u308b\u3002<br>\u300cMerge pull request\u300d\u3060\u3068\u30b3\u30df\u30c3\u30c8\u306bverified\u304c\u4ed8\u304f\u307f\u305f\u3044\u3060\u306a\u3002<br>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u3053\u307e\u3067\u306f\u5206\u304b\u3063\u305f\u3002\u8abf\u3079\u308b\u3053\u3068\u3082\u3044\u3063\u3071\u3044\u3042\u308b\u306a\u3002<\/p>\n\n\n\n<pre><code>\n$ git log\ncommit f4ceeaec664c615bdab0e7096a7fb7c35d708af8 (HEAD -&gt; main, origin\/main, origin\/HEAD)\nMerge: 671e93f 1f56055\nAuthor:\u3007\u3007\u3007\n$ git tag v2.0.0 f4ceeaec664c615bdab0e7096a7fb7c35d708af8\n$ git push --tags\n<\/code><\/pre>\n\n\n\n<script type=\"text\/javascript\">\njQuery(function($){\n$(\".jp-video\").hide();\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>GitHub\u3067release\u3092\u3057\u3088\u3046\u3068\u3057\u305f\u3089tag\u3092\u3064\u3051\u305f\u5f8c\u3067\u306e\u307frelease\u304c\u3067\u304d\u308b\u307f\u305f\u3044\u3002 \u74b0\u5883Windows10(64bit)Git bash $ git tag &lt;tagname&gt; \u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2947","post","type-post","status-publish","format-standard","hentry","category-it"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/2947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2947"}],"version-history":[{"count":13,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/2947\/revisions"}],"predecessor-version":[{"id":3450,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/2947\/revisions\/3450"}],"wp:attachment":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}