{"id":5341,"date":"2022-05-26T16:56:36","date_gmt":"2022-05-26T07:56:36","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=5341"},"modified":"2022-05-27T14:36:49","modified_gmt":"2022-05-27T05:36:49","slug":"git-%e3%82%bf%e3%82%b0%e5%90%8d%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%a6%e3%83%96%e3%83%a9%e3%83%b3%e3%83%81%e3%82%92%e5%88%87%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/5341","title":{"rendered":"[git] \u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p>\u30bf\u30b0\u540d\u3084\u30b3\u30df\u30c3\u30c8ID\u3092\u6307\u5b9a\u3057\u3066HEAD\u306e\u624b\u524d\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\uff08\u5207\u308b\uff09\u65b9\u6cd5<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >$ git checkout -b &lt;new branch&gt; &lt;start-point&gt;<\/pre>\n<pre class=\"lang:default highlight:0 decode:true \" >$ git checkout -b \u30d6\u30e9\u30f3\u30c1\u540d \u30bf\u30b0\u540d<\/pre>\n<pre class=\"lang:default highlight:0 decode:true \" >$ git checkout -b \u30d6\u30e9\u30f3\u30c1\u540d \u30b3\u30df\u30c3\u30c8ID<\/pre>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<ul>\n<li><code>-b<\/code> : \u65b0\u3057\u3044\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3057\u3066\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3059\u308b\u3002\u3059\u3067\u306b\u540c\u540d\u306e\u30d6\u30e9\u30f3\u30c1\u304c\u5b58\u5728\u3059\u308b\u3068\u304d\u306f\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002<\/li>\n<li><code>-B<\/code> : \u65b0\u3057\u3044\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3057\u3066\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3059\u308b\u3002\u3059\u3067\u306b\u540c\u540d\u306e\u30d6\u30e9\u30f3\u30c1\u304c\u5b58\u5728\u3059\u308b\u3068\u304d\u306f\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u3002<\/li>\n<\/ul>\n<h3>\u53c2\u8003\u30ea\u30f3\u30af<\/h3>\n<ul>\n<li><a href=\"https:\/\/git-scm.com\/docs\/git-checkout\">git-checkout<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30bf\u30b0\u540d\u3084\u30b3\u30df\u30c3\u30c8ID\u3092\u6307\u5b9a\u3057\u3066HEAD\u306e\u624b\u524d\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\uff08\u5207\u308b\uff09\u65b9\u6cd5 $ git checkout -b &lt;new branch&gt; &lt;start-point&gt; $ git checkou [&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-5341","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\/5341","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=5341"}],"version-history":[{"count":5,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5341\/revisions"}],"predecessor-version":[{"id":6125,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5341\/revisions\/6125"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=5341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=5341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=5341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}