{"id":131771,"date":"2025-11-22T10:27:42","date_gmt":"2025-11-22T01:27:42","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=131771"},"modified":"2025-11-22T10:27:42","modified_gmt":"2025-11-22T01:27:42","slug":"git-3-0-default-main","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/git-3-0-default-main\/","title":{"rendered":"Git 3.0\u3001\u3064\u3044\u306b main \u304c\u6a19\u6e96\u306b"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/11\/pexels-realtoughcandy-11035539.jpg\" alt=\"\" width=\"1280\" height=\"853\" class=\"aligncenter size-full wp-image-131772\" \/><\/p>\n<p>2026\u5e74\u4e2d\u306e\u30ea\u30ea\u30fc\u30b9\u304c\u4e88\u5b9a\u3055\u308c\u3066\u3044\u308b\u300cGit 3.0\u300d\u3067\u306f\u3001\u9577\u5e74\u4f7f\u308f\u308c\u3066\u304d\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30e9\u30f3\u30c1\u540d<strong>master<\/strong>\u304c\u6b63\u5f0f\u306b<strong>main<\/strong>\u306b\u7f6e\u304d\u63db\u308f\u308a\u307e\u3059(<a href=\"https:\/\/www.phoronix.com\/news\/Git-2.52-Released\">Phoronix<\/a>)\u3002\u3053\u308c\u306f\u3001GitHub\u304c2020\u5e74\u304b\u3089\u9032\u3081\u3066\u304d\u305f\u6d41\u308c\u3092Git\u672c\u4f53\u304c\u8ffd\u8a8d\u3059\u308b\u5f62\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>GitHub\u306f2020\u5e74\u306b\u300cmaster\u300d\u3068\u3044\u3046\u7528\u8a9e\u304c\u5dee\u5225\u7684\u306a\u30cb\u30e5\u30a2\u30f3\u30b9\u3092\u542b\u3080\u53ef\u80fd\u6027\u304c\u3042\u308b\u3068\u3057\u3066\u3001\u65b0\u898f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3092main\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u4e00\u65b9Git\u3067\u306f\u3001Git 2.28\u4ee5\u964d\u3001<code>git config--global init.defaultBranch main<\/code>\u3067main\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30e9\u30f3\u30c1\u306b\u8a2d\u5b9a\u53ef\u80fd\u3067\u3057\u305f\u304c\u3001Git 3.0\u304b\u3089\u306f\u3053\u308c\u304c\u6a19\u6e96\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u81ea\u52d5\u7684\u306bmain\u304c\u4f7f\u308f\u308c\u308b\u305f\u3081\u3001GitHub\u306b\u5408\u308f\u305b\u308b\u305f\u3081\u4f59\u8a08\u306a\u8a2d\u5b9a\u3084\u30d6\u30e9\u30f3\u30c1\u540d\u5909\u66f4\u306e\u624b\u9593\u304c\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u5f93\u6765\u901a\u308amaster\u3092\u7dad\u6301\u3067\u304d\u307e\u3059\u304c\u3001\u7d71\u4e00\u306e\u305f\u3081\u306b\u79fb\u884c\u3059\u308b\u30b1\u30fc\u30b9\u304c\u5897\u3048\u308b\u3068\u4e88\u60f3\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3082\u6982\u306d\u6b53\u8fce\u304b<\/h2>\n<p>\u3053\u306e\u5909\u66f4\u306b\u5bfe\u3057<a href=\"https:\/\/www.reddit.com\/r\/programming\/comments\/1p2z6ka\/git_30_is_using_the_default_branch_name_of_main\/\">Reddit<\/a>\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u610f\u898b\u304c\u5bc4\u305b\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p><span><strong>\u6b53\u8fce\u6d3e<\/strong>: \u300c\u3088\u3046\u3084\u304fGit\u672c\u4f53\u3082\u8ffd\u3044\u3064\u3044\u305f\u300d\u300cGitHub\u3068\u63c3\u3046\u306e\u3067\u6df7\u4e71\u304c\u6e1b\u308b\u300d<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>\u61d0\u7591\u6d3e<\/strong>: \u300cmaster\u306b\u6163\u308c\u3066\u3044\u308b\u306e\u3067\u9055\u548c\u611f\u300d\u300c\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u306e\u6574\u5408\u6027\u304c\u9762\u5012\u300d<\/span><\/p>\n<\/li>\n<li>\n<p><span><strong>\u5b9f\u52d9\u7684\u8996\u70b9<\/strong>: \u300cCI\/CD\u3084\u30b9\u30af\u30ea\u30d7\u30c8\u3067<em>master<\/em>\u3092\u524d\u63d0\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u4fee\u6b63\u304c\u5fc5\u8981\u300d\u300c\u305f\u3060\u3057\u9577\u671f\u7684\u306b\u306f<em>main<\/em>\u306b\u7d71\u4e00\u3055\u308c\u308b\u65b9\u304c\u697d\u300d<\/span><\/p>\n<\/li>\n<\/ul>\n<p>\u5927\u304d\u306a\u53cd\u5bfe\u306e\u58f0\u306f\u5c11\u306a\u304f\u3001\u300c\u5408\u7406\u7684\u3060\u304c\u6163\u308c\u306e\u554f\u984c\u304c\u6b8b\u308b\u300d\u304a\u3044\u3046\u610f\u898b\u304c\u591a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002GitHub\u306emain\u3078\u306e\u5909\u66f4\u304b\u3089\u3059\u3067\u306b\u6642\u9593\u304c\u7d4c\u904e\u3057\u3066\u3044\u308b\u3053\u3068\u3082\u3042\u308a\u3001\u3059\u3093\u306a\u308a\u3068\u53d7\u3051\u5165\u308c\u3089\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2026\u5e74\u4e2d\u306e\u30ea\u30ea\u30fc\u30b9\u304c\u4e88\u5b9a\u3055\u308c\u3066\u3044\u308b\u300cGit 3.0\u300d\u3067\u306f\u3001\u9577\u5e74\u4f7f\u308f\u308c\u3066\u304d\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30e9\u30f3\u30c1\u540dmaster\u304c\u6b63\u5f0f\u306bmain\u306b\u7f6e\u304d\u63db\u308f\u308a\u307e\u3059(Phoronix)\u3002\u3053\u308c\u306f\u3001GitHub\u304c2020\u5e74\u304b\u3089\u9032\u3081\u3066\u304d\u305f\u6d41\u308c\u3092Gi [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":131772,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[159],"class_list":["post-131771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-git"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/131771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=131771"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/131771\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/131772"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=131771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=131771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=131771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}