{"id":156,"date":"2013-04-10T08:58:16","date_gmt":"2013-04-09T23:58:16","guid":{"rendered":"http:\/\/tech.eshima.info\/?p=156"},"modified":"2013-04-10T14:30:34","modified_gmt":"2013-04-10T05:30:34","slug":"git-%e3%82%b5%e3%83%96%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/tech.eshima.info\/?p=156","title":{"rendered":"git \u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u30e1\u30e2"},"content":{"rendered":"<h4>git\u306e\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0<\/h4>\n<p>\u81ea\u5206\u306e\u7ba1\u7406\u3057\u3066\u3044\u308bgit\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5185\u90e8\u306b<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u306a\u3069\u3068\u3057\u3066\u5225\u306egit\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306f<br \/>\n\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u5165\u308c\u308b\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30eb\u30fc\u30c8\u3067\u4e0b\u8a18\u3002<\/p>\n<pre>\r\ngit submodule add git:\/\/example.com\/repo.git DIR\r\n<\/pre>\n<p>\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e2d\u8eab\u306f\u5909\u66f4\u3057\u306a\u3044\u3002<br \/>\n\u3057\u305f\u3089git add \u3067\u304d\u305a\u306b modified content\u3068\u304b\u3063\u3066\u6b8b\u308b\u3002<\/p>\n<h4>git\u306e\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5c55\u958b<\/h4>\n<p>git clone\u3057\u305f\u3060\u3051\u3067\u306f\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3057\u304b\u3067\u304d\u306a\u3044\u3002<br \/>\n\u4e0b\u8a18\u304c\u5fc5\u8981<\/p>\n<pre>\r\ngit submodule init\r\ngit submodule update\r\n<\/pre>\n<h4>git\u306e\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u524a\u9664<\/h4>\n<p>\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6d88\u3057\u3066<br \/>\n.gitmodules\u3082.git\/config\u3082\u4fee\u6b63\u3057\u305f\u306e\u306b<br \/>\n\u518d\u5ea6\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3059\u308b\u3068<br \/>\nalready exists in the index<br \/>\n\u3063\u3066\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089<\/p>\n<pre>\r\ngit rm -r DIR\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>git\u306e\u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0 \u81ea\u5206\u306e\u7ba1\u7406\u3057\u3066\u3044\u308bg [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-156","post","type-post","status-publish","format-standard","hentry","category-git"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156"}],"version-history":[{"count":7,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.eshima.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}