{"id":585,"date":"2015-09-03T16:31:05","date_gmt":"2015-09-03T07:31:05","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=585"},"modified":"2017-02-13T14:23:35","modified_gmt":"2017-02-13T05:23:35","slug":"submodule%e3%82%92%e5%90%ab%e3%82%80git%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%81%ae%e3%82%af%e3%83%ad%e3%83%bc%e3%83%b3%e6%89%8b%e9%a0%86","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/585","title":{"rendered":"submodule\u3092\u542b\u3080git\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30af\u30ed\u30fc\u30f3\u624b\u9806"},"content":{"rendered":"<h2>1. \u89aa\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ git clone git:\/\/github.com\/schacon\/myproject.git<\/pre>\n<p>&nbsp;<\/p>\n<h2>2. \u89aa\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u79fb\u52d5\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ cd myproject<\/pre>\n<p>&nbsp;<\/p>\n<h2>3. \u30ed\u30fc\u30ab\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u521d\u671f\u5316\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ git submodule init<\/pre>\n<p>&nbsp;<\/p>\n<h2>4. \u30b5\u30d6\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\uff08\u53d6\u5f97\uff09\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ git submodule update<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u5225\u89e3. \u30ed\u30fc\u30ab\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u521d\u671f\u5316\u3068\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u4e00\u62ec\u3057\u3066\u5b9f\u884c\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ git submodule update --init<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u5fdc\u7528. submodule\u306e\u4e2d\u306b\u3001\u3055\u3089\u306bsubmodule\u3078\u306e\u53c2\u7167\u304c\u3042\u308b\u3068\u304d\u306b\u518d\u5e30\u7684\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ git submodule update --init --recursive<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1. \u89aa\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b $ git clone git:\/\/github.com\/schacon\/myproject.git &nbsp; 2. \u89aa\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u79fb\u52d5\u3059\u308b $ cd myproj [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2],"class_list":["post-585","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\/585","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=585"}],"version-history":[{"count":8,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/585\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/585\/revisions\/592"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}