{"id":3237,"date":"2015-10-27T12:31:00","date_gmt":"2015-10-27T03:31:00","guid":{"rendered":"http:\/\/aatljapan.wpengine.com\/?p=3237"},"modified":"2015-10-27T12:31:00","modified_gmt":"2015-10-27T03:31:00","slug":"monorepos-in-git","status":"publish","type":"post","link":"https:\/\/www.atlassian.com\/ja\/blog\/monorepos-in-git","title":{"rendered":"Git \u3067 monorepo \u3092\u6271\u3046\u969b\u306e\u8ab2\u984c\u3068\u30d2\u30f3\u30c8"},"content":{"rendered":"<p>\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u305d\u306e\u67d4\u8edf\u3055\u6545\u306b Git \u3092\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u7279\u306b Git \u306e\u30d6\u30e9\u30f3\u30c1\u3068\u30de\u30fc\u30b8\u306e\u30e2\u30c7\u30eb\u306f\u3001\u5206\u6563\u578b\u306e\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9f\u73fe\u3059\u308b\u5f37\u529b\u306a\u65b9\u6cd5\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u67d4\u8edf\u6027\u304c\u5927\u534a\u306e\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u306b\u6a5f\u80fd\u3059\u308b\u4e00\u65b9\u3067\u3001\u305d\u308c\u307b\u3069\u7f8e\u3057\u304f\u6271\u3044\u304d\u308c\u306a\u3044\u3053\u3068\u3082\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u306e\u4e00\u3064\u306f\u3001<em>monorepo<\/em> \u3068\u3044\u3046\u5927\u304d\u306a\u4e00\u679a\u5ca9\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067 Git \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Git \u3092\u4f7f\u7528\u3057\u3066 monorepo \u3092\u6271\u3046\u969b\u306e\u8ab2\u984c\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3001\u305d\u306e\u554f\u984c\u3092\u7de9\u548c\u3059\u308b\u30d2\u30f3\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h1 id=\"what-is-a-monorepo-\">monorepo \u3068\u306f?<\/h1>\n<p>\u3055\u307e\u3056\u307e\u306a\u5b9a\u7fa9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u6211\u3005\u306f monorepo \u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u8ad6\u7406\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4e8c\u3064\u4ee5\u4e0a\u542b\u3080\u30ea\u30dd\u30b8\u30c8\u30ea (iOS \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3084\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069)<\/li>\n<li>\u5404\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u307b\u3068\u3093\u3069\u95a2\u9023\u304c\u306a\u304f\u3001\u758e\u7d50\u5408\u3001\u307e\u305f\u306f\u7570\u306a\u308b\u65b9\u6cd5\u3067\u7e4b\u304c\u3063\u3066\u3044\u308b (\u4f9d\u5b58\u7ba1\u7406\u30c4\u30fc\u30eb\u7d4c\u7531\u306a\u3069)<\/li>\n<li>\u3044\u308d\u3044\u308d\u306a\u610f\u5473\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u5927\u304d\u3044\n<ul>\n<li>\u30b3\u30df\u30c3\u30c8\u306e\u6570<\/li>\n<li>\u30d6\u30e9\u30f3\u30c1\u306e\u6570\u307e\u305f\u306f\u30bf\u30b0\u306e\u6570<\/li>\n<li>\u7ba1\u7406\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570<\/li>\n<li>\u7ba1\u7406\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30b5\u30a4\u30ba (\u30ea\u30dd\u30b8\u30c8\u30ea\u306e .git \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u898b\u308b\u3053\u3068\u3067\u6e2c\u5b9a\u3055\u308c\u308b)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u4e00\u4f8b\u3068\u3057\u3066 Facebook \u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a <a href=\"https:\/\/code.facebook.com\/posts\/218678814984400\/scaling-mercurial-at-facebook\/\">monorepo<\/a> \u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote>\n<p>\u6570\u5341\u4e07\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u6e21\u3063\u3066\u9031\u306b\u6570\u5343\u30b3\u30df\u30c3\u30c8\u304c\u3042\u308a\u3001Facebook \u306e\u30e1\u30a4\u30f3\u30bd\u30fc\u30b9\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u5de8\u5927\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Linux \u30ab\u30fc\u30cd\u30eb\u3088\u308a\u4f55\u500d\u3082\u5927\u304d\u304f\u30012013 \u5e74\u306b\u306f 1700 \u4e07\u884c\u306e\u30b3\u30fc\u30c9\u3068 4 \u4e07 4 \u5343\u30d5\u30a1\u30a4\u30eb\u304c\u30c1\u30a7\u30c3\u30af\u30a4\u30f3\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<\/blockquote>\n<p>\u6027\u80fd\u8a66\u9a13\u3092\u5b9f\u65bd\u3057\u3066\u3044\u305f\u6642\u306b<a href=\"http:\/\/permalink.gmane.org\/gmane.comp.version-control.git\/189776\"> Facebook \u304c\u4f7f\u7528\u3057\u3066\u3044\u305f\u30c6\u30b9\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>400 \u4e07\u30b3\u30df\u30c3\u30c8<\/li>\n<li>\u4e00\u76f4\u7dda\u306e\u5c65\u6b74<\/li>\n<li>\u7d04 130 \u4e07\u306e\u30d5\u30a1\u30a4\u30eb<\/li>\n<li><tt>.git<\/tt> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30a4\u30ba \u7d04 15GB<\/li>\n<li>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba \u7d04 191MB<\/li>\n<\/ul>\n<h1 id=\"conceptual-challenges\">\u6982\u5ff5\u4e0a\u306e\u8ab2\u984c<\/h1>\n<p>\u95a2\u9023\u306e\u306a\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092 Git \u306e monorepo \u3067\u7ba1\u7406\u3059\u308b\u969b\u306b\u306f\u3001\u6982\u5ff5\u4e0a\u306e\u8ab2\u984c\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Git \u306f\u5168\u30b3\u30df\u30c3\u30c8\u305d\u308c\u305e\u308c\u306e\u30c4\u30ea\u30fc\u5168\u4f53\u306e\u72b6\u614b\u3092\u8ffd\u8de1\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u5358\u4e00\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u95a2\u9023\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u591a\u304f\u306e\u95a2\u9023\u306e\u306a\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u542b\u3080\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306f\u5927\u5909\u306a\u4f5c\u696d\u3068\u306a\u308a\u307e\u3059\u3002\u5358\u7d14\u306b\u8a00\u3046\u3068\u3001\u30c4\u30ea\u30fc\u306e\u95a2\u9023\u306e\u306a\u3044\u90e8\u5206\u3067\u306e\u30b3\u30df\u30c3\u30c8\u306f\u3001\u958b\u767a\u8005\u306b\u95a2\u9023\u3059\u308b\u30b5\u30d6\u30c4\u30ea\u30fc\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002\u3053\u306e\u554f\u984c\u306f\u3001\u30c4\u30ea\u30fc\u306e\u5c65\u6b74\u3092\u62e1\u5927\u3059\u308b\u591a\u6570\u306e\u30b3\u30df\u30c3\u30c8\u3067\u3088\u308a\u5927\u898f\u6a21\u306b\u306a\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002\u30d6\u30e9\u30f3\u30c1\u306e\u7d42\u7aef\u304c\u5e38\u306b\u5909\u308f\u308b\u305f\u3081\u3001\u5909\u66f4\u3092 push \u3059\u308b\u306e\u306b\u983b\u7e41\u306a\u30de\u30fc\u30b8\u3084\u90e8\u5206\u7684\u306a\u30ea\u30d9\u30fc\u30b9\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Git \u306b\u306f\u3001\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3084\u30c4\u30ea\u30fc\u5168\u4f53\u3092\u8868\u3059\u540d\u524d\u306e\u3064\u3044\u305f\u30a8\u30a4\u30ea\u30a2\u30b9\u3068\u3057\u3066\u30bf\u30b0\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001monorepo \u306e\u80cc\u666f\u3067\u306f\u30bf\u30b0\u306e\u5b9f\u7528\u6027\u306f\u5931\u308f\u308c\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306b\u81ea\u554f\u3057\u3066\u4e0b\u3055\u3044\u3002monorepo \u306b\u7d99\u7d9a\u7684\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u308b Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u308b iOS \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u7528\u306e\u30ea\u30ea\u30fc\u30b9\u30bf\u30b0\u306b\u3069\u306e\u3088\u3046\u306a\u59a5\u5f53\u6027\u304c\u3042\u308b\u3067\u3057\u3087\u3046\u304b?<\/p>\n<h1 id=\"performance-issues\">\u6027\u80fd\u9762\u306e\u8ab2\u984c<\/h1>\n<p>\u3053\u308c\u3089\u306e\u6982\u5ff5\u4e0a\u306e\u8ab2\u984c\u3060\u3051\u3067\u306a\u304f\u3001monorepo \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u5f71\u97ff\u3059\u308b\u6027\u80fd\u9762\u306e\u8ab2\u984c\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"number-of-commits\">\u30b3\u30df\u30c3\u30c8\u306e\u6570<\/h2>\n<p>\u5927\u898f\u6a21\u306a\u5358\u4e00\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u95a2\u9023\u306e\u306a\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7ba1\u7406\u3059\u308b\u3068\u3001\u30b3\u30df\u30c3\u30c8\u30ec\u30d9\u30eb\u3067\u7169\u308f\u3057\u304f\u306a\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u306b\u3001\u6025\u6fc0\u306a\u4f38\u3073\u65b9\u3067\u5927\u91cf\u306e\u30b3\u30df\u30c3\u30c8\u306b\u7e4b\u304c\u3063\u3066\u304d\u307e\u3059 (Facebook \u3067\u306f\u300c\u9031\u306b\u6570\u5343\u30b3\u30df\u30c3\u30c8\u300d\u3067\u3059)\u3002Git \u3067\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5c65\u6b74\u3092\u8868\u3059\u306e\u306b <strong>\u6709\u5411\u975e\u5de1\u56de\u30b0\u30e9\u30d5 (DAG: directed acyclic graph) <\/strong>\u3092\u4f7f\u3046\u305f\u3081\u3001\u3053\u308c\u306f\u7279\u306b\u554f\u984c\u306b\u306a\u308a\u307e\u3059\u3002\u5927\u91cf\u306e\u30b3\u30df\u30c3\u30c8\u306b\u3088\u308a\u3001\u30b0\u30e9\u30d5\u3092\u305f\u3069\u308b\u5404\u30b3\u30de\u30f3\u30c9\u306f\u3001\u5c65\u6b74\u304c\u6df1\u304f\u306a\u308b\u307b\u3069\u9045\u304f\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306e\u4f8b\u3068\u3057\u3066\u3001<tt>git log<\/tt> \u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5c65\u6b74\u3092\u8abf\u67fb\u3059\u308b\u4f5c\u696d\u3084\u3001<tt>git blame<\/tt> \u3067\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u306b\u6ce8\u91c8\u3092\u4ed8\u3051\u308b\u4f5c\u696d\u3082\u542b\u307e\u308c\u307e\u3059\u3002<tt>git blame<\/tt> \u3067\u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5927\u91cf\u306e\u30b3\u30df\u30c3\u30c8\u304c\u3042\u308b\u5834\u5408\u3001Git \u306f\u3001blame \u306e\u60c5\u5831\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306b\u95a2\u9023\u306e\u306a\u3044\u5927\u91cf\u306e\u30b3\u30df\u30c3\u30c8\u3092\u305f\u3069\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ed6\u306e\u4f8b\u3068\u3057\u3066\u306f\u3001\u3042\u3089\u3086\u308b\u7a2e\u985e\u306e\u5230\u9054\u53ef\u80fd\u6027\u306e\u8cea\u554f (\u30b3\u30df\u30c3\u30c8 A \u306f\u30b3\u30df\u30c3\u30c8 B \u306b\u5230\u9054\u53ef\u80fd\u304b\u3001\u306a\u3069) \u306b\u7b54\u3048\u308b\u4f5c\u696d\u304c\u3042\u308a\u307e\u3059\u3002monorepo \u3067\u898b\u3064\u304b\u308b\u591a\u304f\u306e\u95a2\u9023\u306e\u306a\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u307e\u3068\u3081\u308b\u3068\u3001\u6027\u80fd\u9762\u306e\u8ab2\u984c\u306f\u60aa\u5316\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"number-of-refs\">\u53c2\u7167\u306e\u6570<\/h2>\n<p>monorepo \u5185\u306e\u5927\u91cf\u306e\u53c2\u7167 (\u30d6\u30e9\u30f3\u30c1\u3084\u30bf\u30b0\u306a\u3069) \u306f\u3001\u3055\u307e\u3056\u307e\u306a\u70b9\u3067\u6027\u80fd\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002<\/p>\n<p><em>ref advertisement<\/em> \u306b\u306f\u3001monorepo \u306e\u3059\u3079\u3066\u306e\u53c2\u7167\u304c\u542b\u307e\u308c\u307e\u3059\u3002ref advertisement \u306f\u30ea\u30e2\u30fc\u30c8\u3067\u306e\u5404 git \u64cd\u4f5c\u306e\u6700\u521d\u306e\u6bb5\u968e\u306a\u306e\u3067\u3001<tt>git clone<\/tt>\u3001<tt>git fetch<\/tt>\u3001<tt>git push<\/tt> \u306a\u3069\u306e\u64cd\u4f5c\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002\u5927\u91cf\u306e\u53c2\u7167\u306b\u3088\u308a\u3001\u3053\u308c\u3089\u306e\u6027\u80fd\u3092\u884c\u3046\u6642\u306f\u6027\u80fd\u304c\u640d\u306a\u308f\u308c\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea URL \u3068\u5171\u306b <tt>git ls-remote<\/tt> \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067 ref advertisement \u304c\u898b\u3089\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<tt>git ls-remote<br \/>\ngit:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/torvalds\/linux.git<\/tt> \u3068\u3059\u308c\u3070\u3001Linux Kernel \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u3059\u3079\u3066\u306e\u53c2\u7167\u304c\u30ea\u30b9\u30c8\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u53c2\u7167\u304c\u5927\u307e\u304b\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001<em>\u30d6\u30e9\u30f3\u30c1\u306e\u30ea\u30b9\u30c8\u5316<\/em>\u304c\u9045\u304f\u306a\u308a\u5f97\u307e\u3059\u3002<tt>git gc<\/tt> \u304c\u884c\u308f\u308c\u305f\u5f8c\u3001\u53c2\u7167\u306f\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u306b\u307e\u3068\u3081\u3089\u308c\u30012 \u4e07\u4ee5\u4e0a\u3042\u308b\u53c2\u7167\u306e\u30ea\u30b9\u30c8\u5316\u3067\u3082\u9ad8\u901f\u306b\u306a\u308a\u307e\u3059 (\u7d04 0.06 \u79d2)\u3002<\/p>\n<p><em>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u3092\u6a2a\u65ad<\/em>\u3057\u3066\u3001\u5404\u53c2\u7167\u3092\u691c\u8a3c\u3059\u308b\u5fc5\u8981\u306e\u3042\u308b\u5404\u64cd\u4f5c (<tt>git branch --contains SHA1<\/tt> \u306a\u3069) \u306f\u3001monorepo \u5185\u3067\u306f\u9045\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n21708 \u306e\u53c2\u7167\u3092\u6301\u3064\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306f\u3001\u53e4\u3044\u30b3\u30df\u30c3\u30c8\u3092\u542b\u3080\u53c2\u7167\u306e\u30ea\u30b9\u30c8\u5316\u306b\u306f\u4ee5\u4e0b\u306e\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059 (\u307b\u307c\u3059\u3079\u3066\u306e\u53c2\u7167\u304b\u3089\u5230\u9054\u53ef\u80fd)\u3002<\/p>\n<p><tt>\u30e6\u30fc\u30b6\u30fc\u30bf\u30a4\u30e0 (\u79d2): 146.44<\/tt>*<\/p>\n<p><em>*\u3053\u308c\u306f\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u305d\u306e\u4e0b\u306b\u3042\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u5c64\u306b\u3088\u3063\u3066\u3082\u5909\u308f\u308a\u307e\u3059\u3002<\/em><\/p>\n<h2 id=\"number-of-files-tracked\">\u7ba1\u7406\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570<\/h2>\n<p>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u307e\u305f\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5 (<tt>.git\/index<\/tt>) \u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306e\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002Git \u306f\u3053\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f7f\u3044\u3001\u5404\u30d5\u30a1\u30a4\u30eb\u4e0a\u3067 <tt>stat(1)<\/tt> \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u66f4\u304c\u3042\u3063\u305f\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u60c5\u5831\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5185\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u3068\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/p>\n<p>\u5f93\u3063\u3066\u3001\u8ffd\u8de1\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u304c\u591a\u304f\u306e\u64cd\u4f5c\u306e\u6027\u80fd* \u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><tt>git status<\/tt> \u304c\u9045\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059 (\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30d5\u30a1\u30a4\u30eb\u304c\u5927\u304d\u304f\u306a\u308b)<\/li>\n<li><tt>git commit<\/tt> \u3082\u9045\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059 (\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b\u3082\u540c\u69d8)<\/li>\n<\/ul>\n<p><em>*\u3053\u308c\u306f\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u305d\u306e\u4e0b\u306b\u3042\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u5c64\u306b\u3088\u3063\u3066\u3082\u5909\u308f\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u6570\u4e07\u3084\u6570\u5341\u4e07\u3068\u3044\u3063\u305f\u5927\u91cf\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u3068\u304d\u306b\u3057\u304b\u6c17\u4ed8\u304d\u307e\u305b\u3093\u3002<\/em><\/p>\n<h2 id=\"large-files\">\u5de8\u5927\u306a\u30d5\u30a1\u30a4\u30eb<\/h2>\n<p>\u5358\u4e00\u30b5\u30d6\u30c4\u30ea\u30fc\u3084\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306e\u5de8\u5927\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u5168\u4f53\u306e\u6027\u80fd\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u95a2\u9023\u306e\u306a\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4e0a\u3067\u4f5c\u696d\u3059\u308b\u958b\u767a\u8005 (\u307e\u305f\u306f\u958b\u767a\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8) \u3092\u3088\u305d\u306b\u3001monorepo \u5185\u306e iOS \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8ffd\u52a0\u3055\u308c\u305f\u5de8\u5927\u306a\u30e1\u30c7\u30a3\u30a2\u30d5\u30a1\u30a4\u30eb\u304c\u30af\u30ed\u30fc\u30f3\u3055\u308c\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"combined-effects\">\u8907\u5408\u7684\u306a\u5f71\u97ff<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3067\u3042\u308d\u3046\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u308c\u3060\u3051\u5909\u66f4\u3055\u308c\u305f\u304b\u3067\u3042\u308d\u3046\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u308c\u3060\u3051\u5de8\u5927\u304b\u3067\u3042\u308d\u3046\u3068\u3001\u3053\u308c\u3089\u306e\u554f\u984c\u304c\u7d44\u307f\u5408\u308f\u3055\u3063\u3066\u6027\u80fd\u306b\u3055\u3089\u306a\u308b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><em>\u30d6\u30e9\u30f3\u30c1\u9593\u3084\u30bf\u30b0\u9593\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068<\/em>\u306f\u30b5\u30d6\u30c4\u30ea\u30fc\u306e\u80cc\u666f (\u305f\u3068\u3048\u3070\u79c1\u304c\u4f5c\u696d\u3057\u3066\u3044\u308b\u30b5\u30d6\u30c4\u30ea\u30fc\u306a\u3069) \u3067\u306f\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u30c4\u30ea\u30fc\u5168\u4f53\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u6570\u306e\u5f71\u97ff\u3067\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u9045\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u6b21\u5584\u7b56\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<tt>git checkout ref-28642-31335 -- templates<\/tt> \u3092\u4f7f\u7528\u3057\u3066\u3001<br \/>\n\u4f8b\u3048\u3070 <tt>.\/templates<\/tt> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u66f4\u65b0\u3057\u3066\u30d6\u30e9\u30f3\u30c1\u306b\u9069\u5fdc\u3055\u305b\u307e\u3059\u304c\u3001 <tt>HEAD<\/tt> \u306f\u66f4\u65b0\u3057\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u66f4\u65b0\u6e08\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5185\u3067\u5909\u66f4\u3057\u3066\u30de\u30fc\u30af\u3059\u308b\u3068\u3044\u3046\u526f\u4f5c\u7528\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u5909\u63db\u524d\u306b\u30d1\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u306b\u5168\u3066\u306e\u60c5\u5831\u304c\u307e\u3068\u3081\u3089\u308c\u308b\u305f\u3081\u3001<em>\u30af\u30ed\u30fc\u30f3\u3084\u30d5\u30a7\u30c3\u30c1<\/em>\u304c\u9045\u304f\u306a\u308a\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u30ea\u30bd\u30fc\u30b9\u304c\u96c6\u4e2d\u3057\u307e\u3059\u3002<\/li>\n<li><em>\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/em>\u304c\u9045\u304f\u306a\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f (\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u306a\u5834\u5408) \u30d7\u30c3\u30b7\u30e5\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u3059\u3079\u3066\u306e\u64cd\u4f5c\u3067<em>\u30ea\u30bd\u30fc\u30b9\u306e\u4f7f\u7528\u7387<\/em>\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f <tt>git upload-pack<\/tt>\u3001<tt>git gc<\/tt> \u306a\u3069\u30d1\u30c3\u30af\u30d5\u30a1\u30a4\u30eb\u306e (\u518d) \u751f\u6210\u3092\u542b\u307f\u307e\u3059\u3002<\/li>\n<\/ul>\n<h1 id=\"what-about-bitbucket-\">Bitbucket \u306f\u3069\u3046\u306a\u306e\u304b?<\/h1>\n<p>Git \u306e\u8a2d\u8a08\u76ee\u6a19\u306b\u3088\u308a\u3001\u4e00\u679a\u5ca9\u306e\u3088\u3046\u306a\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3042\u3089\u3086\u308b Git \u30ea\u30dd\u30b8\u30c8\u30ea\u7ba1\u7406\u30c4\u30fc\u30eb\u306b\u3068\u3063\u3066\u306e\u8ab2\u984c\u3067\u3042\u308a\u3001\u305d\u308c\u306f <a href=\"https:\/\/bitbucket.org\/?utm_source=DAC&amp;utm_medium=social&amp;utm_campaign=monorepo_blog\">Bitbucket<\/a> \u306b\u3068\u3063\u3066\u3082\u5909\u308f\u308a\u3042\u308a\u307e\u305b\u3093\u3002\u3055\u3089\u306b\u91cd\u8981\u306a\u3053\u3068\u306b\u3001\u4e00\u679a\u5ca9\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 (\u30e6\u30fc\u30b6\u30fc) \u5074\u306e\u4e21\u65b9\u306b\u89e3\u6c7a\u65b9\u6cd5\u304c\u5fc5\u8981\u3068\u306a\u308b\u8ab2\u984c\u3092\u63d0\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u8868\u306b\u3053\u308c\u3089\u306e\u8ab2\u984c\u3092\u8a18\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/aatljapan.wpengine.com\/files\/Screen-Shot-2015-10-27-at-12.25.59-PM.png\" alt=\"Screen Shot 2015-10-27 at 12.25.59 PM\" width=\"653\" height=\"392\" class=\"aligncenter size-full wp-image-3242\" srcset=\"https:\/\/aatljapan.wpengine.com\/wp-content\/uploads\/Screen-Shot-2015-10-27-at-12.25.59-PM.png 653w, https:\/\/aatljapan.wpengine.com\/wp-content\/uploads\/Screen-Shot-2015-10-27-at-12.25.59-PM-300x180.png 300w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/p>\n<h1 id=\"mitigation-strategies\">\u7de9\u548c\u306e\u6226\u7565<\/h1>\n<p>\u3082\u3057\u4e00\u679a\u5ca9\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3042\u308a\u304c\u3061\u306a\u7279\u6b8a\u306a\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092 Git \u304c\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308c\u3070\u7d20\u6674\u3089\u3057\u3044\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u3057\u304b\u3057\u3001\u5927\u304d\u306a\u6210\u529f\u3068\u4eba\u6c17\u3092\u5b9f\u73fe\u3057\u305f Git \u306f\u3001\u6642\u3005\u3042\u308b\u3001\u5f53\u521d\u306e\u8a2d\u8a08\u3068\u306f\u7570\u306a\u308b\u65b9\u6cd5\u3067\u4f7f\u7528\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u671b\u306b\u306f\u5fdc\u3048\u3089\u308c\u307e\u305b\u3093\u3002\u30c1\u30fc\u30e0\u306e\u5927\u591a\u6570\u306b\u3068\u3063\u3066\u306e\u826f\u3044\u30cb\u30e5\u30fc\u30b9\u306f\u3001\u672c\u5f53\u306b\u3068\u3066\u3082\u5927\u304d\u306a\u4e00\u679a\u5ca9\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u666e\u901a\u3067\u306f\u306a\u304f\u307b\u3068\u3093\u3069\u4f8b\u5916\u7684\u306a\u50be\u5411\u306b\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u306e\u8a18\u4e8b\u306e\u3088\u3046\u306b\u8208\u5473\u6df1\u3044\u3053\u3068\u306b\u3001\u76f4\u9762\u3057\u3066\u3044\u308b\u5834\u9762\u3067\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u9069\u7528\u3059\u308b\u5fc5\u8981\u3059\u308b\u72b6\u6cc1\u306f\u307b\u3068\u3093\u3069\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3068\u306f\u8a00\u3063\u3066\u3082\u3001\u5927\u304d\u306a\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u4f5c\u696d\u3059\u308b\u969b\u306b\u52a9\u3051\u3068\u306a\u308b\u7de9\u548c\u306e\u6226\u7565\u304c\u8272\u3005\u3042\u308a\u307e\u3059\u3002\u9577\u3044\u5c65\u6b74\u307e\u305f\u306f\u5927\u304d\u306a\u30d0\u30a4\u30ca\u30ea\u8cc7\u7523\u306e\u3042\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u3001\u79c1\u306e\u540c\u50da\u306e <a href=\"https:\/\/developer.atlassian.com\/blog\/authors\/npaolucci\/\">Nicola<br \/>\nPaolucci<\/a> \u304c <a href=\"http:\/\/aatljapan.wpengine.com\/2014\/05\/handle-big-repositories-git\/\">\u89e3\u6c7a\u65b9\u6cd5<\/a> \u3092\u3044\u304f\u3064\u304b\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2 id=\"remove-refs\">\u53c2\u7167\u3092\u524a\u9664\u3059\u308b<\/h2>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u6570\u4e07\u306e\u53c2\u7167\u304c\u3042\u308b\u5834\u5408\u3001\u3082\u3046\u5fc5\u8981\u306e\u306a\u3044\u53c2\u7167\u3092\u524a\u9664\u3059\u308b\u3088\u3046\u691c\u8a0e\u3059\u308b\u3079\u304d\u3067\u3059\u3002DAG \u306f\u5909\u66f4\u304c\u3069\u306e\u3088\u3046\u306b\u884c\u308f\u308c\u305f\u304b\u3068\u3044\u3046\u5c65\u6b74\u3092\u6301\u3061\u3001\u30de\u30fc\u30b8\u30b3\u30df\u30c3\u30c8\u304c\u305d\u306e\u89aa\u3092\u6307\u3059\u4e00\u65b9\u3067\u3001\u3059\u3067\u306b\u30d6\u30e9\u30f3\u30c1\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3067\u3082\u30d6\u30e9\u30f3\u30c1\u4e0a\u3067\u884c\u308f\u308c\u305f\u4f5c\u696d\u304c\u8ffd\u8de1\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/blogs.atlassian.com\/2013\/11\/the-essence-of-branch-based-workflows\/\">\u30d6\u30e9\u30f3\u30c1\u30d9\u30fc\u30b9\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc<\/a> \u3067\u306f\u3001\u3042\u306a\u305f\u304c\u4fdd\u6301\u3057\u305f\u3044\u9577\u5bff\u547d\u306e\u30d6\u30e9\u30f3\u30c1\u306f\u6570\u3092\u5c11\u306a\u304f\u3059\u308b\u3079\u304d\u3067\u3059\u3002\u6050\u308c\u305a\u306b\u77ed\u5bff\u547d\u306e\u30d5\u30a3\u30fc\u30c1\u30e3\u30fc\u30d6\u30e9\u30f3\u30c1\u3092\u30de\u30fc\u30b8\u5f8c\u306b\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30de\u30b9\u30bf\u30fc\u3084\u751f\u7523\u306a\u3069\u306e\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3055\u308c\u305f\u5168\u30d6\u30e9\u30f3\u30c1\u306e\u524a\u9664\u3092\u691c\u8a0e\u3057\u3066\u4e0b\u3055\u3044\u3002\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u304b\u3089\u30b3\u30df\u30c3\u30c8\u306b\u5230\u9054\u53ef\u80fd\u3067\u3001\u30de\u30fc\u30b8\u30b3\u30df\u30c3\u30c8\u3067\u30d6\u30e9\u30f3\u30c1\u3092\u30de\u30fc\u30b8\u3057\u3066\u3044\u308b\u9650\u308a\u3001\u3069\u306e\u3088\u3046\u306b\u5909\u66f4\u304c\u884c\u308f\u308c\u305f\u304b\u306e\u5c65\u6b74\u3092\u8ffd\u8de1\u3059\u308b\u3053\u3068\u306f\u307e\u3060\u53ef\u80fd\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30de\u30fc\u30b8\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u30d6\u30e9\u30f3\u30c1\u540d\u3092\u542b\u3093\u3067\u3044\u308b\u3053\u3068\u304c\u591a\u304f\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3053\u306e\u60c5\u5831\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2 id=\"handling-large-numbers-of-files\">\u591a\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u51e6\u3059\u308b<\/h2>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u591a\u6570 (\u6570\u5343\u304b\u3089\u6570\u4e07) \u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u5834\u5408\u3001\u30d0\u30c3\u30d5\u30a1\u30fc\u30ad\u30e3\u30c3\u30b7\u30e5\u7528\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u30e1\u30e2\u30ea\u30fc\u3092\u5927\u91cf\u306b\u7a4d\u3093\u3060\u9ad8\u901f\u306a\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u4f7f\u3046\u3053\u3068\u3067\u6539\u5584\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001 <a href=\"https:\/\/code.facebook.com\/posts\/218678814984400\/scaling-mercurial-at-facebook\/\">Mercurial \u3092\u5c0e\u5165\u3057\u305f Facebook<\/a> \u306e\u4f8b\u306e\u3088\u3046\u306b\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u3088\u308a\u5927\u304d\u306a\u5909\u66f4\u304c\u5fc5\u8981\u3068\u306a\u308b\u9818\u57df\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u306f\u3001\u5909\u66f4\u304c\u3042\u3063\u305f\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u305f\u3081\u306b\u5168\u30d5\u30a1\u30a4\u30eb\u3092\u5de1\u56de\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30d5\u30a1\u30a4\u30eb\u5909\u66f4\u3092\u8a18\u9332\u3059\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u901a\u77e5\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002\u540c\u69d8\u306e\u30a2\u30d7\u30ed\u30fc\u30c1 (\u3053\u308c\u3082\u76e3\u8996\u3092\u7528\u3044\u308b) \u304c\u3001<a href=\"http:\/\/git.661346.n2.nabble.com\/RFC-On-watchman-support-td7620988.html\">git \u5411\u3051\u306b\u8b70\u8ad6<\/a>\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u307e\u3060\u7d50\u8ad6\u306f\u51fa\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<h2 id=\"use-git-lfs\">Git LFS \u3092\u4f7f\u7528\u3059\u308b<\/h2>\n<p>\u52d5\u753b\u3084\u753b\u50cf\u306a\u3069\u306e\u5927\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7528\u306b\u3001\u5927\u304d\u306a\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u7d71\u5408\u3057\u3001\u5168\u4f53\u306e\u6027\u80fd\u306b\u4e0e\u3048\u308b\u5f71\u97ff\u3092\u6291\u3048\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4e00\u3064\u3068\u3057\u3066 <a href=\"https:\/\/git-lfs.github.com\/\">Git LFS<\/a> \u304c\u3042\u308a\u307e\u3059\u3002\u79c1\u306e\u540c\u50da\u306e <a href=\"https:\/\/developer.atlassian.com\/blog\/authors\/sstreeting\/\">Steve Streeting<\/a> \u306f\u3001LFS \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u7a4d\u6975\u7684\u306b\u8ca2\u732e\u3057\u3066\u3044\u3066\u3001<a href=\"https:\/\/developer.atlassian.com\/blog\/2015\/10\/contributing-to-git-lfs\/\">\u6700\u8fd1\u305d\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b<\/a>\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2 id=\"identify-boundaries-and-split-your-repository\">\u5883\u754c\u3092\u7279\u5b9a\u3057\u3066\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5206\u5272\u3059\u308b<\/h2>\n<p>\u6700\u3082\u6839\u672c\u7684\u306a\u89e3\u6c7a\u65b9\u6cd5\u306f\u3001monorepo \u3092\u5206\u5272\u3057\u3066\u3088\u308a\u5c0f\u3055\u304f\u96c6\u4e2d\u7684\u306a\u3082\u306e\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u5358\u4e00\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u8ffd\u8de1\u3059\u308b\u4f5c\u696d\u304b\u3089\u96e2\u308c\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3057\u3066\u3001\u305d\u306e\u4ee3\u308f\u308a\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u5883\u754c\u3092\u7279\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u304b\u3057\u305f\u3089\u3001\u4f3c\u305f\u3088\u3046\u306a\u30ea\u30ea\u30fc\u30b9\u30b5\u30a4\u30af\u30eb\u3092\u6301\u3064\u30e2\u30b8\u30e5\u30fc\u30eb\u3084\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u898b\u3064\u3051\u308b\u4e8b\u3067\u305d\u308c\u304c\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u30b5\u30d6\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4e00\u6383\u3059\u308b\u512a\u308c\u305f\u30ea\u30c8\u30de\u30b9\u8a66\u9a13\u7d19\u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u30bf\u30b0\u3092\u4f7f\u3044\u3001\u30bd\u30fc\u30b9\u30c4\u30ea\u30fc\u306e\u4ed6\u306e\u90e8\u5206\u306b\u5bfe\u3057\u3066\u9053\u7406\u306b\u304b\u306a\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u898b\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>Git \u304c monorepo \u3092\u7f8e\u3057\u304f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308c\u3070\u7d20\u6674\u3089\u3057\u3044\u306e\u3067\u3059\u304c\u3001monorepo \u306e\u6982\u5ff5\u306f\u3001\u6700\u521d\u306b Git \u3092\u5927\u304d\u306a\u6210\u529f\u3068\u4eba\u6c17\u306b\u5c0e\u3044\u305f\u3082\u306e\u3068\u306f\u5c11\u3057\u98df\u3044\u9055\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001monorepo \u304c\u3042\u308b\u304b\u3089\u3068\u3044\u3063\u3066 Git \u306e\u53ef\u80fd\u6027\u3092\u8ae6\u3081\u308b\u3079\u304d\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u591a\u304f\u306e\u5834\u5408\u3001\u554f\u984c\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u53ef\u80fd\u306a\u89e3\u6c7a\u65b9\u6cd5\u304c\u3042\u308b\u306e\u3067\u3059\u304b\u3089\u3002<\/p>\n<p><\/br><br \/>\n<small><br \/>\n*\u672c\u30d6\u30ed\u30b0\u306f Atlassian Developers \u306e\u7ffb\u8a33\u3067\u3059\u3002\u672c\u6587\u4e2d\u306e\u65e5\u6642\u306a\u3069\u306f\u6295\u7a3f\u5f53\u6642\u306e\u3082\u306e\u3067\u3059\u306e\u3067\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<br \/>\n*\u539f\u6587 : 2015 \u5e74 10 \u6708 21 \u65e5\u6295\u7a3f \"<a href=\"https:\/\/developer.atlassian.com\/blog\/2015\/10\/monorepos-in-git\/\" target=\"_blank\">Monorepos in Git<\/a>\"<br \/>\n<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u305d\u306e\u67d4\u8edf\u3055\u6545\u306b Git \u3092\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u7279\u306b Git \u306e\u30d6\u30e9\u30f3\u30c1\u3068\u30de\u30fc\u30b8\u306e\u30e2\u30c7\u30eb\u306f\u3001\u5206\u6563\u578b\u306e\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u5b9f\u73fe\u3059\u308b\u5f37\u529b\u306a\u65b9\u6cd5&hellip;<\/p>\n","protected":false},"author":172,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"bitbucket_subtitle":"","footnotes":""},"categories":[1],"tags":[103,89,579],"coauthors":[],"class_list":["post-3237","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-git","tag-mercurial","tag-monorepo"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/3237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/users\/172"}],"replies":[{"embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=3237"}],"version-history":[{"count":0,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/3237\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=3237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=3237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=3237"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.atlassian.com\/ja\/blog\/wp-json\/wp\/v2\/coauthors?post=3237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}