{"id":412,"date":"2014-11-18T06:30:02","date_gmt":"2014-11-17T21:30:02","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=412"},"modified":"2019-11-19T10:00:26","modified_gmt":"2019-11-19T01:00:26","slug":"git%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%81%8b%e3%82%89%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%96%e4%bd%9c%e6%88%90","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/412","title":{"rendered":"git\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a2\u30fc\u30ab\u30a4\u30d6\u4f5c\u6210"},"content":{"rendered":"<h4>\u4f8b\uff11<\/h4>\n<pre class=\"lang:default decode:true \" >git archive  --format=tar.gz  --prefix=FOO\/  HEAD  -o foo.tar.gz<\/pre>\n<p><\/p>\n<h4>\u4f8b\uff12<\/h4>\n<pre class=\"lang:default decode:true \" >git archive  --format=zip  --prefix=BAR-1_4_0\/  v1.4.0  -o bar.zip<\/pre>\n<hr\/>\n<dl>\n<dt><code>--prefix<\/code><\/dt>\n<dd>\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3059\u308b<\/dd>\n<\/dl>\n<p>&nbsp;<\/p>\n<h4>archive\u304b\u3089\u9664\u5916\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h4>\n<p><code>.gitignore<\/code>\u306a\u3069\u30a2\u30fc\u30ab\u30a4\u30d6\u30d5\u30a1\u30a4\u30eb(tar.gz\u3084zip)\u304b\u3089\u9664\u5916\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/p>\n<p>\u21d2 <code>.gitattributes<\/code>\u306b<code>ignore-export<\/code>\u3092\u8ffd\u8a18\u3059\u308b<\/p>\n<h5>.gitattributes\u306e\u8a18\u8ff0\u4f8b<\/h5>\n<pre class=\"lang:default highlight:0 decode:true \" title=\".gitattributes\" >.gitignore export-ignore\r\n.gitattributes export-ignore<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f8b\uff11 git archive &#8211;format=tar.gz &#8211;prefix=FOO\/ HEAD -o foo.tar.gz \u4f8b\uff12 git archive &#8211;format=zip &#8211;prefix=BAR-1_4_0 [&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-412","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\/412","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=412"}],"version-history":[{"count":9,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":3383,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/412\/revisions\/3383"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}