{"id":1249,"date":"2016-12-14T11:43:38","date_gmt":"2016-12-14T02:43:38","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1249"},"modified":"2021-05-25T14:50:42","modified_gmt":"2021-05-25T05:50:42","slug":"git-shallow-clone","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1249","title":{"rendered":"[git] shallow clone"},"content":{"rendered":"<p>git\u306e\u6700\u65b0\u306e\u5c65\u6b74\u304b\u3089\u6570\u4e16\u4ee3\u3060\u3051\u9061\u3063\u3066\u53d6\u308a\u51fa\u3059<\/p>\n<p><!--more--><\/p>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ git clone --depth &lt;depth&gt; &lt;remote&gt;<\/pre>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ git clone --depth 1  https:\/\/github.com\/mruby\/mruby.git<\/pre>\n<h2>\u5236\u9650\u4e8b\u9805<\/h2>\n<ul>\n<li>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092 clone \u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044<\/li>\n<li>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089 fetch \u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044<\/li>\n<li>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089 push \u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044<\/li>\n<li>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078 push \u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044<\/li>\n<\/ul>\n<h2>References<\/h2>\n<ul>\n<li><a href=\"\/tech\/index.php\/archives\/4175\">[git] \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u305fclone<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>git\u306e\u6700\u65b0\u306e\u5c65\u6b74\u304b\u3089\u6570\u4e16\u4ee3\u3060\u3051\u9061\u3063\u3066\u53d6\u308a\u51fa\u3059<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2],"class_list":["post-1249","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\/1249","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=1249"}],"version-history":[{"count":6,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1249\/revisions"}],"predecessor-version":[{"id":4189,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1249\/revisions\/4189"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}