{"id":105,"date":"2017-01-28T10:43:29","date_gmt":"2017-01-28T01:43:29","guid":{"rendered":"http:\/\/ragtimeblues.net\/?p=105"},"modified":"2017-01-28T10:43:29","modified_gmt":"2017-01-28T01:43:29","slug":"git%e4%bd%bf%e3%81%84%e3%81%ab%e3%81%aa%e3%82%8d%e3%81%86%ef%bc%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%86%85%e3%81%ae%e5%a4%89%e6%9b%b4%e3%82%92%e9%83%a8%e5%88%86%e7%9a%84%e3%81%ab%e3%82%b3","status":"publish","type":"post","link":"https:\/\/ragtimeblues.net\/?p=105","title":{"rendered":"Git\u4f7f\u3044\u306b\u306a\u308d\u3046\uff1a\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u5909\u66f4\u3092\u90e8\u5206\u7684\u306b\u30b3\u30df\u30c3\u30c8\u3059\u308b"},"content":{"rendered":"<p>\u3072\u3068\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0\u3057\u3066\u3044\u3066\u3001\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3068\u304d\u306b\u66f4\u65b0\u306e\u5185\u5bb9\u3092\u5225\u3005\u306e\u5358\u4f4d\u3067\u30b3\u30df\u30c3\u30c8\u3057\u305f\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u3068\u304d\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u306a\u304a\u3057\u3066\u304b\u3089\u30b3\u30df\u30c3\u30c8\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002git add\u3092\u3059\u308b\u969b\u306b&#8221;-p&#8221;\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308c\u3070\u3088\u3044\u3067\u3059\u3002<br \/>\n\u5143\u306e\u30d5\u30a1\u30a4\u30eb<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nRagtimeblues\r\nhttps:\/\/ragtimeblues.net\/\r\n<\/pre>\n<p>\u306b\u5bfe\u3057\u3066<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nRagtimeblues\r\nsince 2016.01.01\r\nhttps:\/\/ragtimeblues.net\/\r\nThis site is my diary.\r\n<\/pre>\n<p>\u3068\u5909\u66f4\u3057\u305f\u3068\u3057\u307e\u3059\u3002\u3053\u3053\u3067git add -p\u3068\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ git add -p sample.txt \r\ndiff --git a\/sample.txt b\/sample.txt\r\nindex 1e85400..36f88c3 100644\r\n--- a\/sample.txt\r\n+++ b\/sample.txt\r\n@@ -1,2 +1,4 @@\r\n Ragtimeblues\r\n+since 2016.01.01\r\n https:\/\/ragtimeblues.net\/\r\n+This site is my diary.\r\nStage this hunk &#x5B;y,n,q,a,d,\/,s,e,?]? \r\n<\/pre>\n<p>\u3053\u306ehunk(\u5927\u304d\u306a\u584a)\u3092\u30b9\u30c6\u30fc\u30b8\u3059\u308b\u304b\u304c\u8a0a\u304b\u308c\u307e\u3059\u3002\u4f7f\u3044\u65b9\u304c\u308f\u304b\u3089\u306a\u3051\u308c\u3070&#8217;?&#8217;\u3067\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3067\u304d\u307e\u3059\u3002\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3057\u3066\u307f\u308b\u3068\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ny - stage this hunk\r\nn - do not stage this hunk\r\nq - quit; do not stage this hunk or any of the remaining ones\r\na - stage this hunk and all later hunks in the file\r\nd - do not stage this hunk or any of the later hunks in the file\r\ng - select a hunk to go to\r\n\/ - search for a hunk matching the given regex\r\nj - leave this hunk undecided, see next undecided hunk\r\nJ - leave this hunk undecided, see next hunk\r\nk - leave this hunk undecided, see previous undecided hunk\r\nK - leave this hunk undecided, see previous hunk\r\ns - split the current hunk into smaller hunks\r\ne - manually edit the current hunk\r\n? - print help\r\n<\/pre>\n<p>\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3084\u308a\u305f\u3044\u3053\u3068\u3092\u9078\u629e\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3072\u3068\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0\u3057\u3066\u3044\u3066\u3001\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3068\u304d\u306b\u66f4\u65b0\u306e\u5185\u5bb9\u3092\u5225\u3005\u306e\u5358\u4f4d\u3067\u30b3\u30df\u30c3\u30c8\u3057\u305f\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u3068\u304d\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u306a\u304a\u3057\u3066\u304b\u3089\u30b3\u30df\u30c3\u30c8\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002git add\u3092\u3059\u308b\u969b\u306b&#8221;-p &hellip; <a href=\"https:\/\/ragtimeblues.net\/?p=105\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Git\u4f7f\u3044\u306b\u306a\u308d\u3046\uff1a\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u5909\u66f4\u3092\u90e8\u5206\u7684\u306b\u30b3\u30df\u30c3\u30c8\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-git"],"_links":{"self":[{"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=105"}],"version-history":[{"count":3,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}