{"id":4530,"date":"2021-09-05T13:01:05","date_gmt":"2021-09-05T04:01:05","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=4530"},"modified":"2023-02-15T11:52:39","modified_gmt":"2023-02-15T02:52:39","slug":"git-init-%e5%ae%9f%e8%a1%8c%e5%be%8c%e3%81%ae%e3%83%a1%e3%83%83%e3%82%bb%e3%83%bc%e3%82%b8","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/4530","title":{"rendered":"[git] init \u5b9f\u884c\u5f8c\u306e\u30e1\u30c3\u30bb\u30fc\u30b8"},"content":{"rendered":"<h3>\u75c7\u72b6<\/h3>\n<p>git\u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210\u30b3\u30de\u30f3\u30c9(git init)\u5b9f\u884c\u5f8c\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u898b\u6163\u308c\u306a\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >% git init .\r\nhint: Using 'master' as the name for the initial branch. This default branch name\r\nhint: is subject to change. To configure the initial branch name to use in all\r\nhint: of your new repositories, which will suppress this warning, call:\r\nhint:\r\nhint: \tgit config --global init.defaultBranch &lt;name&gt;\r\nhint:\r\nhint: Names commonly chosen instead of 'master' are 'main', 'trunk' and\r\nhint: 'development'. The just-created branch can be renamed via this command:\r\nhint:\r\nhint: \tgit branch -m &lt;name&gt;<\/pre>\n<p><!--more--><\/p>\n<h3>\u89e3\u8aac<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u30fb\u30d6\u30e9\u30f3\u30c1\u540d &quot;master&quot; \u3092\u5225\u306e\u540d\u524d\u306b\u5909\u66f4\u3067\u304d\u308b\u65e8\u306e\u8aac\u660e\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u30fb\u30d6\u30e9\u30f3\u30c1\u540d\u5909\u66f4\u65b9\u6cd5\u306e\u8aac\u660e\u3002<\/p>\n<p>\u4eba\u6a29\u610f\u8b58\u306e\u9ad8\u307e\u308a\u3068\u5171\u306b\u3001&quot;master&quot; \u3084 &quot;slave&quot; \u3068\u3044\u3063\u305f\u5dee\u5225\u3092\u52a9\u9577\u3059\u308b\u7528\u8a9e\u3092\u5fcc\u907f\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068\u306b\u4f34\u3044\u3001&quot;main&quot; \u3084 &quot;trunk&quot; \u3068\u3044\u3063\u305f\u597d\u307e\u3057\u3044\u540d\u524d\u3078\u306e\u5909\u66f4\u3092\uff08\u63a7\u3048\u76ee\u306b\uff09\u4fc3\u3059\u30e1\u30c3\u30bb\u30fc\u30b8\u3002<\/p>\n<h3>\u95a2\u9023\u30ea\u30f3\u30af<\/h3>\n<ul>\n<li><a href=\"\/tech\/index.php\/archives\/3785\">IT\u5206\u91ce\u306b\u304a\u3051\u308b\u5dee\u5225\u7684\u7528\u8a9e\u306e\u7f6e\u63db\u3048<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 git\u30ea\u30dd\u30b8\u30c8\u30ea\u4f5c\u6210\u30b3\u30de\u30f3\u30c9(git init)\u5b9f\u884c\u5f8c\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u898b\u6163\u308c\u306a\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 % git init . hint: Using &#8216;master&#8217; as the name for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-4530","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=4530"}],"version-history":[{"count":12,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4530\/revisions"}],"predecessor-version":[{"id":6059,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4530\/revisions\/6059"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=4530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=4530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=4530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}