{"id":62208,"date":"2018-08-06T08:42:31","date_gmt":"2018-08-05T23:42:31","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=62208"},"modified":"2018-08-06T08:42:31","modified_gmt":"2018-08-05T23:42:31","slug":"howto-git-clone-aozora","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/howto-git-clone-aozora\/","title":{"rendered":"\u3010Tips\u3011GitHub\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u300c\u9752\u7a7a\u6587\u5eab\u300d\u306e\u5185\u5bb9\u3092\u307e\u308b\u3054\u3068\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/08\/pexels-photo-912110.jpeg\" alt=\"Pexels photo 912110\" title=\"pexels-photo-912110.jpeg\" border=\"0\" width=\"1280\" height=\"853\" \/><\/p>\n<p>\u8457\u4f5c\u6a29\u304c\u6d88\u6ec5\u3057\u305f\u4f5c\u54c1\u3084\u8457\u8005\u304c\u8a31\u8afe\u3057\u305f\u4f5c\u54c1\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306e\u96fb\u5b50\u56f3\u66f8\u9928\u300c<a href=\"https:\/\/www.aozora.gr.jp\/\">\u9752\u7a7a\u6587\u5eab<\/a>\u300d\u3002<\/p>\n<p>\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u4f5c\u54c1\u306e\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u306f\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u500b\u5225\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u304c\u3001\u5b9f\u306f<a href=\"https:\/\/github.com\/aozorabunko\/aozorabunko\">\u9752\u7a7a\u6587\u5eab\u306eGitHub\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u304b\u3089\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f5c\u54c1\u3092\u500b\u5225\u306b\u9451\u8cde\u3059\u308b\u305f\u3081\u3067\u306f\u306a\u304f\u3001\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u6a5f\u68b0\u5b66\u7fd2\u306a\u3069\u306e\u76ee\u7684\u3067\u5229\u7528\u3059\u308b\u5834\u5408\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u5ea6\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308bGitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u4fbf\u5229\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u56de\u306f\u9752\u7a7a\u6587\u5eab\u306e\u30c7\u30fc\u30bf\u3092GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3001\u304a\u3088\u3073\u30c7\u30fc\u30bf\u306e\u5229\u7528\u65b9\u6cd5\u306a\u3069\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u9752\u7a7a\u6587\u5eab\u30c7\u30fc\u30bf\u306e\u4e00\u62ec\u4fdd\u5b58\u65b9\u6cd5<\/h2>\n<p>\u57fa\u672c\u7684\u306b\u306f\u9752\u7a7a\u6587\u5eab\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3082\u901a\u5e38\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u540c\u69d8\u306b\u3001\u300cgit clone\u300d\u3092\u5229\u7528\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\ngit clone https:\/\/github.com\/aozorabunko\/aozorabunko.git\n<\/pre>\n<p>\u305f\u3060\u3057\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5bb9\u91cf\u306f13GB(\u8a18\u4e8b\u57f7\u7b46\u6642)\u3068\u304b\u306a\u308a\u5927\u304d\u304f\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306f\u9014\u4e2d\u3067clone\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u4e8b\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u305d\u306e\u5834\u5408\u6700\u65b0\u3060\u3051\u3067\u826f\u3044\u306a\u3089\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre>\ngit clone --depth 1 https:\/\/github.com\/aozorabunko\/aozorabunko.git\n<\/pre>\n<p>\u3082\u3057\u304f\u306fsvn\u3092\u4f7f\u3063\u3066\u300csvn checkout\u300d\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre>\nsvn checkout https:\/\/github.com\/aozorabunko\/aozorabunko\n<\/pre>\n<p>svn\u306e\u5834\u5408\u9014\u4e2d\u3067\u5931\u6557\u3057\u3066\u3082\u300csvn cleanup\u300d\u3068\u300csvn checkout\u300d\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u7d99\u7d9a\u3067\u304d\u307e\u3059(git\u306e\u5834\u5408\u6700\u521d\u304b\u3089\u3068\u306a\u308a\u307e\u3059)\u3002<\/p>\n<p>\u305d\u306e\u4ed6GitHub\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30dc\u30bf\u30f3\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u624b\u5143\u306e\u74b0\u5883\u3067\u306f\u304b\u306a\u308a\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u901a\u5e38\u306e\u300cgit clone\u300d\u3067\u6210\u529f\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u9752\u7a7a\u6587\u5eab\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u69cb\u9020<\/h2>\n<p>\u9752\u7a7a\u6587\u5eab\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u69cb\u9020\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/08\/folder.jpg\" alt=\"Folder\" title=\"folder.jpg\" border=\"0\" width=\"1008\" height=\"746\" \/><\/p>\n<p>\u25b2\u300ccards > \u4f5c\u54c1\u756a\u53f7 > fiels\u300d\u306e\u4e0b\u306b\u5b58\u5728\u3059\u308bzip\u30d5\u30a1\u30a4\u30eb\u306b\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u500b\u5225\u306bzip\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u3066\u3044\u3051\u3070\u4f5c\u54c1\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u308a\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u3069\u3053\u304b\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u307e\u3068\u3081\u3066\u4e00\u6c17\u306b\u89e3\u51cd\u3057\u305f\u3044\u5834\u5408\u3001\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\nfind cards -name '*.zip' -exec cp {} text \\;\ncd text\nunzip '*.zip'\n<\/pre>\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u306fShift-JIS\u3067\u3059\u3002UTF-8\u306b\u5909\u63db\u3057\u305f\u3044\u5834\u5408nkf\u306a\u3069\u3067\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u9752\u7a7a\u6587\u5eab\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u306f\u516c\u5f0f\u306eGitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u5b58\u5728\u3057\u300cgit clone\u300d\u3092\u5229\u7528\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7814\u7a76\u3084\u4ed5\u4e8b\u306e\u305f\u3081\u306b\u5927\u91cf\u306e\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u304c\u5fc5\u8981\u306a\u5834\u5408\u3001\u307e\u3068\u3081\u3066\u30b3\u30d4\u30fc\u3067\u304d\u308b\u306e\u306f\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u9752\u7a7a\u6587\u5eab\u306eGitHub\u304b\u3089\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u95a2\u3057\u3066\u306f\u3001<a href=\"https:\/\/www.aozora.gr.jp\/guide\/aozora_bunko_faq.html\">\u516c\u5f0fFAQ<\/a>\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\u9752\u7a7a\u6587\u5eab\u306e\u30c7\u30fc\u30bf\u4e00\u5f0f\u306f github \u306b\u3082\u7f6e\u304b\u308c\u3001\u6bce\u65e5\u66f4\u65b0\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u516c\u958b\u30b5\u30fc\u30d0\u30fc\u3067\u524a\u9664\u3057\u305f\u3082\u306e\u3092\u6d88\u3057\u3066\u306a\u3044\u3068\u3044\u3046\u96e3\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3042\u308b\u304c\u307e\u307e\u306e\u72b6\u614b\u3067\u304b\u307e\u308f\u306a\u3051\u308c\u3070\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u8457\u4f5c\u6a29\u304c\u6d88\u6ec5\u3057\u305f\u4f5c\u54c1\u3084\u8457\u8005\u304c\u8a31\u8afe\u3057\u305f\u4f5c\u54c1\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306e\u96fb\u5b50\u56f3\u66f8\u9928\u300c\u9752\u7a7a\u6587\u5eab\u300d\u3002 \u516c\u958b\u3055\u308c\u3066\u3044\u308b\u4f5c\u54c1\u306e\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u306f\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u500b\u5225\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u304c\u3001\u5b9f\u306f\u9752\u7a7a\u6587\u5eab\u306eGitH [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":62266,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[4153,159,573],"class_list":["post-62208","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-aozora","tag-git","tag-github"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/62208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=62208"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/62208\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/62266"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=62208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=62208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=62208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}