{"id":13368,"date":"2026-11-25T12:37:41","date_gmt":"2026-11-25T03:37:41","guid":{"rendered":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=13368"},"modified":"2026-11-26T12:57:15","modified_gmt":"2026-11-26T03:57:15","slug":"git%e3%81%ae%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=13368","title":{"rendered":"Git\u306e\u57fa\u672c\u64cd\u4f5c"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong>\uff11\uff0e\u5168\u4f53\u306e\u6d41\u308c<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u4f5c\u696d\u5185\u5bb9<\/td><td>\u30b3\u30de\u30f3\u30c9<\/td><\/tr><tr><td>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u308b\u30fb\u53d6\u5f97\u3059\u308b<br>\u8aac\u660e<br>\u3000\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u571f\u53f0\u3068\u306a\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u7528\u610f\u3059\u308b<\/td><td>git init<br>\u3000\u65b0\u3057\u304f\u4f5c\u308b<br><br>\u307e\u305f\u306f<br><br>git clone<br>\u3000\u65e2\u5b58\u3092\u53d6\u5f97<\/td><\/tr><tr><td>\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u308b<br><br>\u8aac\u660e<br>\u3000\u65b0\u3057\u3044\u4f5c\u696d\u7528\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b<\/td><td>git switch -c feature\/xxx<br>\u3000feature\/xxx\u3068\u3044\u3046\u30d6\u30e9\u30f3\u30c1\u4f5c\u6210<br>\u3000<\/td><\/tr><tr><td>\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3059\u308b<br><br>\u8aac\u660e<br>\u3000\u4f5c\u696d\u30d6\u30e9\u30f3\u30c1\u3067\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3059\u308b<\/td><td>\u958b\u767a\uff08\u30b3\u30fc\u30c9\u3092\u66f8\u304f\uff09<\/td><\/tr><tr><td>\u5909\u66f4\u3092\u78ba\u8a8d\u3059\u308b<br><br>\u8aac\u660e<br>\u3000\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u5909\u66f4\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\u3059\u308b<\/td><td>git status<\/td><\/tr><tr><td>\u5909\u66f4\u3092\u30b9\u30c6\u30fc\u30b8\u306b\u8ffd\u52a0\u3059\u308b<br><br>\u8aac\u660e<br>\u3000\u5909\u66f4\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30c6\u30fc\u30b8\u306b\u8ffd\u52a0\u3059\u308b<\/td><td>git add .<\/td><\/tr><tr><td>\u30b3\u30df\u30c3\u30c8\u3059\u308b<br><br>\u8aac\u660e<br>\u3000\u5909\u66f4\u5185\u5bb9\u3092\u8a18\u9332\u3059\u308b<\/td><td>git commit -m &#8220;\u30e1\u30c3\u30bb\u30fc\u30b8&#8221;<\/td><\/tr><tr><td>\u30ea\u30e2\u30fc\u30c8\u306b\u9001\u308b<br><br>\u8aac\u660e<br>\u3000\u4f5c\u696d\u5185\u5bb9\u3092\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u53cd\u6620\u3059\u308b<\/td><td>git push<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/yorozu.cloudfree.jp\/wordpress\/wp-content\/uploads\/2026\/11\/git.jpg\" rel=\"lightbox[13368]\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/yorozu.cloudfree.jp\/wordpress\/wp-content\/uploads\/2026\/11\/git-150x150.jpg\" alt=\"\" class=\"wp-image-13371\" style=\"aspect-ratio:1;width:150px;height:auto\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u30fbGit\u306e\u57fa\u672c\u64cd\u4f5c<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[93],"class_list":["post-13368","post","type-post","status-publish","format-standard","hentry","category-99_","tag-93"],"_links":{"self":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13368"}],"version-history":[{"count":5,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13368\/revisions"}],"predecessor-version":[{"id":13375,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13368\/revisions\/13375"}],"wp:attachment":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}