{"id":951,"date":"2014-06-18T04:50:00","date_gmt":"2014-06-18T04:50:00","guid":{"rendered":"https:\/\/rawbytes.org\/?p=951"},"modified":"2025-11-24T02:59:19","modified_gmt":"2025-11-24T02:59:19","slug":"git%e3%81%a7%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e3%81%a7%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%a3%e3%81%9f%e5%be%8c%e3%81%8b%e3%82%89%e5%88%a5%e3%81%aebranch%e3%81%abcommit","status":"publish","type":"post","link":"https:\/\/rawbytes.org\/?p=951","title":{"rendered":"Git\u3067\u30ed\u30fc\u30ab\u30eb\u3067\u5909\u66f4\u3057\u3066\u3057\u307e\u3063\u305f\u5f8c\u304b\u3089\u5225\u306ebranch\u306bcommit\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u304d\u306e\u8981\u70b9\u3060\u3051"},"content":{"rendered":"<p>\u3053\u308c\u3063\u3066\u3069\u3046\u3084\u308b\u306e\u304b\u3068\u601d\u3063\u3066\u305f\u3051\u3069\u3001git stash\u3092\u4f7f\u3048\u3070\u826f\u3055\u305d\u3046\u3002<\/p>\n<p><!--more--><br \/>\n1.\u30ed\u30fc\u30ab\u30eb\u306bclone\u3057\u305f\u3042\u3068\u306b\u4f55\u304b\u5909\u66f4\u3057\u3066\u3057\u307e\u3063\u3066\u3001\u7d50\u679c\u3044\u3044\u611f\u3058\u306b\u306a\u3063\u305f\u3068\u3057\u307e\u3059<br \/>\n2.git stash\u3067\u30ed\u30fc\u30ab\u30eb\u306e\u5909\u66f4\u3092\u4e00\u6642\u7684\u306b\u9000\u907f\u3057\u307e\u3059\u3002<\/p>\n<blockquote class=\"tr_bq\"><p>\n$git stash<\/p><\/blockquote>\n<p>3.\u5909\u66f4\u3092\u30b3\u30df\u30c3\u30c8\u3059\u308b\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b<\/p>\n<blockquote class=\"tr_bq\"><p>\n$git checkout -b new-branch-with-cool-feature<\/p><\/blockquote>\n<p>4.stash\u3057\u305f\u5909\u66f4\u70b9\u3092pop\u3057\u307e\u3059<\/p>\n<blockquote class=\"tr_bq\"><p>\n$git stash pop<\/p><\/blockquote>\n<p>5.\u5909\u66f4\u70b9\u3092\u30b3\u30df\u30c3\u30c8\u3057\u307e\u3059<\/p>\n<blockquote class=\"tr_bq\"><p>\n$git commit -a -m &#8220;some comments here&#8221;<\/p><\/blockquote>\n<div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u3063\u3066\u3069\u3046\u3084\u308b\u306e\u304b\u3068\u601d\u3063\u3066\u305f\u3051\u3069\u3001git stash\u3092\u4f7f\u3048\u3070\u826f\u3055\u305d\u3046\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,18,21],"tags":[],"class_list":["post-951","post","type-post","status-publish","format-standard","hentry","category-develop","category-git","category-howto"],"_links":{"self":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=951"}],"version-history":[{"count":1,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/951\/revisions"}],"predecessor-version":[{"id":952,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/951\/revisions\/952"}],"wp:attachment":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}