{"id":4008,"date":"2021-04-19T13:23:19","date_gmt":"2021-04-19T04:23:19","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=4008"},"modified":"2021-04-19T15:11:28","modified_gmt":"2021-04-19T06:11:28","slug":"git-%e7%89%b9%e5%ae%9a%e3%81%ae%e3%82%b3%e3%83%9f%e3%83%83%e3%83%88%e3%81%8b%e3%82%89%e3%83%96%e3%83%a9%e3%83%b3%e3%83%81%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/4008","title":{"rendered":"[git] \u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p>\u904e\u53bb\u306e\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/p>\n<h2>\u66f8\u5f0f<\/h2>\n<pre class=\"lang:sh decode:true \">git checkout &lt;rev&gt; -b &lt;branchname&gt;<\/pre>\n<h2>\u5b9f\u884c\u4f8b<\/h2>\n<pre class=\"lang:sh decode:true \">$ git checkout 6bf73e8 -b my_new_branch<\/pre>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h3>references<\/h3>\n<ul>\n<li><a href=\"https:\/\/git-scm.com\/docs\/git-branch\">Git &#8211; git-branch Documentation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u904e\u53bb\u306e\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 \u66f8\u5f0f git checkout &lt;rev&gt; -b &lt;branchname&gt; \u5b9f\u884c\u4f8b $ git checkout 6bf73e8 -b my_new [&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":[2],"class_list":["post-4008","post","type-post","status-publish","format-standard","hentry","category-memo","tag-git"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4008","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=4008"}],"version-history":[{"count":7,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4008\/revisions"}],"predecessor-version":[{"id":4017,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4008\/revisions\/4017"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=4008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=4008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=4008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}