{"id":35,"date":"2016-01-29T11:34:19","date_gmt":"2016-01-29T02:34:19","guid":{"rendered":"http:\/\/ragtimeblues.net\/?p=35"},"modified":"2016-02-07T18:06:34","modified_gmt":"2016-02-07T09:06:34","slug":"git%e4%bd%bf%e3%81%84%e3%81%ab%e3%81%aa%e3%82%8d%e3%81%86%ef%bc%9a%e3%81%b2%e3%81%a8%e3%82%8a%e3%81%a7%e4%bd%bf%e3%81%864%e7%b7%a8%e9%9b%86%e4%b8%ad%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/ragtimeblues.net\/?p=35","title":{"rendered":"Git\u4f7f\u3044\u306b\u306a\u308d\u3046\uff1a\u3072\u3068\u308a\u3067\u4f7f\u3046(4:\u7de8\u96c6\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5143\u306b\u623b\u3059)"},"content":{"rendered":"<p>\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u4e2d\u306b\u3084\u3063\u3071\u308a\u300c\u3084\u30fc\u3081\u305f\u300d\u3068\u306a\u3063\u3066\u3001\u5143\u306b\u623b\u3057\u305f\u3044\u3068\u304d\u306b\u6700\u65b0\u306e\u30b3\u30df\u30c3\u30c8\u72b6\u614b\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>~\/sandbox\/sample.txt \u306e\u5185\u5bb9\u3092<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nRagtimeblues\r\nhttps:\/\/ragtimeblues.net\/\r\nsample.txt\r\n<\/pre>\n<p>\u306b\u5909\u3048\u307e\u3057\u305f(\u6700\u5f8c\u306e\u884c\u3092\u8ffd\u52a0)\u3002<\/p>\n<p>\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ git status\r\nOn branch master\r\nChanges not staged for commit:\r\n  (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)\r\n  (use &quot;git checkout -- &lt;file&gt;...&quot; to discard changes in working directory)\r\n\r\n\tmodified:   sample.txt\r\n\r\nno changes added to commit (use &quot;git add&quot; and\/or &quot;git commit -a&quot;)\r\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3001sample.txt\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u7de8\u96c6\u3092\u7834\u68c4\u3057\u3066\u3001\u6700\u65b0\u306e\u30b3\u30df\u30c3\u30c8\u72b6\u614b\u306b\u623b\u3059\u306b\u306fgit checkout\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ git checkout HEAD sample.txt\r\n<\/pre>\n<p>sample.txt\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ cat sample.txt \r\nRagtimeblues\r\nhttps:\/\/ragtimeblues.net\/\r\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3001\u5143\u306b\u623b\u3063\u3066\u3044\u307e\u3059\u3002\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ git status\r\nOn branch master\r\nnothing to commit, working directory clean\r\n<\/pre>\n<p>\u3067\u3001\u4f55\u3082\u5909\u66f4\u304c\u306a\u304f\u304d\u308c\u3044\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u4e2d\u306b\u3084\u3063\u3071\u308a\u300c\u3084\u30fc\u3081\u305f\u300d\u3068\u306a\u3063\u3066\u3001\u5143\u306b\u623b\u3057\u305f\u3044\u3068\u304d\u306b\u6700\u65b0\u306e\u30b3\u30df\u30c3\u30c8\u72b6\u614b\u306b\u3057\u3066\u307f\u307e\u3059\u3002 ~\/sandbox\/sample.txt \u306e\u5185\u5bb9\u3092 Ragtimeblues https:\/\/ragtimeblues. &hellip; <a href=\"https:\/\/ragtimeblues.net\/?p=35\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Git\u4f7f\u3044\u306b\u306a\u308d\u3046\uff1a\u3072\u3068\u308a\u3067\u4f7f\u3046(4:\u7de8\u96c6\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5143\u306b\u623b\u3059)&#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-35","post","type-post","status-publish","format-standard","hentry","category-git"],"_links":{"self":[{"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts\/35","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=35"}],"version-history":[{"count":5,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ragtimeblues.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}