{"id":7202,"date":"2026-09-30T15:59:52","date_gmt":"2026-09-30T20:59:52","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/git-subtree-monorepo-convention-distributing-code-locked-to-an-exact-commit-hash-7202\/"},"modified":"2026-09-30T16:00:01","modified_gmt":"2026-09-30T21:00:01","slug":"git-subtree-monorepo-convention-distributing-code-locked-to-an-exact-commit-hash","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/git-subtree-monorepo-convention-distributing-code-locked-to-an-exact-commit-hash-7202\/","title":{"rendered":"Git Subtree Monorepo Convention \u2014 Distributing Code Locked to an Exact Commit Hash"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/yBarn1\/Images\/blob\/main\/produce\/multicolor-carrots-produce-display.jpg?raw=true\" alt=\"\" style=\"width:auto;height:500px\"\/><\/figure>\n\n\n<p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"GitHub\/git-subtree-monorepo-convention-ko.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Git Subtree Monorepo Convention \u2014 Distributing Code Locked to an Exact Commit Hash<\/h1><a id=\"user-content-git-subtree-monorepo-convention--distributing-code-locked-to-an-exact-commit-hash\" class=\"anchor\" aria-label=\"Permalink: Git Subtree Monorepo Convention \u2014 Distributing Code Locked to an Exact Commit Hash\" href=\"#git-subtree-monorepo-convention--distributing-code-locked-to-an-exact-commit-hash\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Rev. 6 | Created: 2026-07-18 | Updated: 2026-09-07 23:08 UTC<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Purpose<\/h2><a id=\"user-content-1-purpose\" class=\"anchor\" aria-label=\"Permalink: 1. Purpose\" href=\"#1-purpose\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc791\uc5c5 code \ub97c git commit hash \ub85c \ubc1b\uc544 \ubc30\ud3ec\ud558\uace0 \uc2e4\ud589\ud558\ub294 \uc0c1\ud669\uc744 \uc804\uc81c\ub85c, repository \uad6c\uc870\uc640 upload \ubc0f\ndownload \uaddc\uc57d\uc744 \uc815\uc758\ud55c\ub2e4. \ubb38\uc11c\uc5d0\uc11c \uc0ac\uc6a9\ud55c \uc6a9\uc5b4\uc758 \uc815\uc758\ub294\n<a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a> \uc5d0 \uc815\ub9ac\ud55c\ub2e4. \ub9cc\uc871\ud574\uc57c \ud560 \uc694\uad6c\uc0ac\ud56d\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n<ol dir=\"auto\">\n<li>Commit hash \ub85c version \uc744 \uc815\ud655\ud788 \uace0\uc815\ud55c\ub2e4. \uc5b4\ub5a4 code \uac00 \uc2e4\ud589\ub418\uc5c8\ub294\uc9c0 \uc7ac\ud604\ud560 \uc218 \uc788\ub3c4\ub85d \ubd88\ubcc0\uc73c\ub85c \ub0a8\uae34\ub2e4.<\/li>\n<li>\uc791\uc5c5\uc790\uac00 code \ub97c \ud558\uc704 folder \ub85c \uc790\uc720\ub86d\uac8c \ucd94\uac00\ud55c\ub2e4.<\/li>\n<li>Commit hash \ud558\ub098\ub85c \uc791\uc5c5 \uc804\uccb4\ub97c \ud55c \ubc88\uc5d0 \ubc1b\ub294\ub2e4.<\/li>\n<li>Upload \uc640 download \uac00 \ub2e8\uc21c\ud558\uace0 \uad00\ub9ac\uac00 \uc27d\ub2e4.<\/li>\n<li>Hardcoding \uc744 \ud558\uc9c0 \uc54a\ub294\ub2e4. Repository URL \uacfc commit hash \uc640 \uacbd\ub85c\ub97c code \uc5d0 \ubc15\uc9c0 \uc54a\ub294\ub2e4.<\/li>\n<\/ol>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Decision<\/h2><a id=\"user-content-2-decision\" class=\"anchor\" aria-label=\"Permalink: 2. Decision\" href=\"#2-decision\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub2e8\uc77c monorepo \uc640 <code>main<\/code> branch \ud558\ub098\ub97c \uae30\uc900\uc73c\ub85c \ud55c\ub2e4. <code>main<\/code> \uc5d0\uc11c \ud558\uc704 folder \ub97c \ub9cc\ub4dc\ub294 \ubc29\ubc95\uacfc \uadf8\n\ud5c8\uc6a9 \uc5ec\ubd80\ub294 \uc544\ub798\uc640 \uac19\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">2.1. Taxonomy of Subfolder Creation Methods<\/h3><a id=\"user-content-21-taxonomy-of-subfolder-creation-methods\" class=\"anchor\" aria-label=\"Permalink: 2.1. Taxonomy of Subfolder Creation Methods\" href=\"#21-taxonomy-of-subfolder-creation-methods\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uac00\ub974\ub294 \uae30\uc900\uc740 \ud558\ub098\ub2e4. \ub0b4\uc6a9\uc744 \ubd80\ubaa8 commit \uc548\uc5d0 \ubb3c\ub9ac\uc801\uc73c\ub85c \ub123\ub294\uc9c0, \uc544\ub2c8\uba74 pointer \ub098 link \ub9cc\n\ub123\ub294\uc9c0\ub85c \ub098\ub208\ub2e4. \ubb3c\ub9ac\uc801\uc73c\ub85c \ub123\uc73c\uba74 \ud5c8\uc6a9\ud558\uace0, pointer \ub098 link \ub9cc \ub123\uc73c\uba74 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<p dir=\"auto\">Table 1. Six ways to create a subfolder on <code>main<\/code> and whether each is allowed.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>No.<\/th>\n<th>Method<\/th>\n<th>How content enters the subfolder<\/th>\n<th>Allowed<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td><code>mkdir<\/code><\/td>\n<td>Folder \uc640 file \uc744 \uc9c1\uc811 \ub9cc\ub4e4\uc5b4 commit \ud558\ubbc0\ub85c \ub0b4\uc6a9\uc774 monorepo \uc548\uc5d0 \ubb3c\ub9ac\uc801\uc73c\ub85c \ud3ec\ud568\ub41c\ub2e4<\/td>\n<td>\ud5c8\uc6a9\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td><code>cp<\/code> \ub610\ub294 vendoring<\/td>\n<td>\uc678\ubd80 repository \uc758 file \uc744 \ud558\uc704 folder \ub85c \ubcf5\uc0ac\ud574 \ub123\uace0 \uadf8\ucabd <code>.git<\/code> \uc740 \ubc84\ub9ac\ubbc0\ub85c \ub0b4\uc6a9\uc774 plain file \ub85c \ud3ec\ud568\ub41c\ub2e4<\/td>\n<td>\ud5c8\uc6a9\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td><code>git read-tree --prefix=&lt;DIR&gt;\/<\/code><\/td>\n<td>\ub2e4\ub978 tree \ub098 commit \uc744 index \uc758 \ud558\uc704 \uacbd\ub85c\ub85c \uc9c1\uc811 \uc77d\uc5b4 \ub123\uc73c\ubbc0\ub85c \ub0b4\uc6a9\uc774 \ubb3c\ub9ac\uc801\uc73c\ub85c \ud3ec\ud568\ub41c\ub2e4<\/td>\n<td>\ud5c8\uc6a9\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td><code>git subtree<\/code><\/td>\n<td>\uc678\ubd80 upstream repository \uc758 \ub0b4\uc6a9\uc744 \ud558\uc704 folder \ub85c \ud761\uc218\ud558\ubbc0\ub85c \ub0b4\uc6a9\uacfc history \uac00 \ud568\uaed8 \ub4e4\uc5b4\uc628\ub2e4<\/td>\n<td>\uc870\uac74\ubd80\ub85c \ud5c8\uc6a9\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td><code>git submodule<\/code><\/td>\n<td>\uc678\ubd80 repository \ub97c gitlink pointer \ub85c\ub9cc \ucc38\uc870\ud558\ubbc0\ub85c \ub0b4\uc6a9\uc774 \ubd80\ubaa8\uc5d0 \ub4e4\uc5b4\uc624\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<td>\ud5c8\uc6a9\ud558\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Symlink<\/td>\n<td>Repository \ubc16\uc744 \uac00\ub9ac\ud0a4\ub294 symbolic link \ub9cc commit \ud558\ubbc0\ub85c git \uc740 link \uacbd\ub85c \ubb38\uc790\uc5f4\ub9cc \uc800\uc7a5\ud55c\ub2e4<\/td>\n<td>\ud5c8\uc6a9\ud558\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\"><code>mkdir<\/code> \uc740 \uae30\ubcf8 \ubc29\uc2dd\uc774\uba70 \ud3c9\uc0c1\uc2dc \uc791\uc5c5\uc740 \uc804\ubd80 \uc5ec\uae30\uc5d0 \ud574\ub2f9\ud55c\ub2e4. \uc791\uc5c5\uc790\ub294 code \ub97c \uc2e4\ud5d8 \ub2e8\uc704 folder \uc640\nfile \ub85c \ub9cc\ub4e4\uc5b4 <code>main<\/code> \uc5d0 \uc9c1\uc811 commit \ud55c\ub2e4. \uc5ec\ub7ec \ud300\uc774 \uc544\ub2c8\ub77c \ud55c \uc0ac\ub78c\uc774\ub098 \uc18c\uaddc\ubaa8\uac00 \uc2e4\ud5d8\uacfc code \ub97c\n\ub298\ub824 \uac00\ub294 \ud615\ud0dc\ub2e4.<\/p>\n<p dir=\"auto\"><code>cp<\/code> \uc640 vendoring \uc740 \uc678\ubd80 code \ub97c \uadf8\ub300\ub85c \ubcf5\uc0ac\ud574 \ub123\ub294 \uac83\uc774\ubbc0\ub85c \uacb0\uacfc\ub294 <code>mkdir<\/code> \uacfc \uac19\uc740 plain file \uc774\ub2e4.\n\ucd9c\ucc98\uac00 \uc678\ubd80 repository \ub77c\ub294 \uc810\ub9cc \ub2e4\ub974\uace0 \uc774\ud6c4 \ub3d9\uae30\ud654\uac00 \ud544\uc694 \uc5c6\uc744 \ub54c \uc4f4\ub2e4. <code>.git<\/code> \uc744 \ud568\uaed8 \ub123\uc73c\uba74\nembedded repository \ubb38\uc81c\uac00 \ub418\ubbc0\ub85c \ubc18\ub4dc\uc2dc \uc81c\uac70\ud55c\ub2e4.<\/p>\n<p dir=\"auto\"><code>git read-tree --prefix<\/code> \ub294 subtree \uc758 \uc800\uc218\uc900 \ud615\ud0dc\ub2e4. History \ub97c \uc787\uc9c0 \uc54a\uace0 \ud2b9\uc815 tree \ub098 commit \uc758\nsnapshot \ub9cc \ud558\uc704 folder \ub85c \ud55c \ubc88 \uac00\uc838\uc624\uba70, \ub0b4\uc6a9\uc774 \ubb3c\ub9ac\uc801\uc73c\ub85c \ub4e4\uc5b4\uc624\ubbc0\ub85c \uc7ac\ud604\uc131 \ubb38\uc81c\uac00 \uc5c6\ub2e4.<\/p>\n<p dir=\"auto\"><code>git subtree<\/code> \ub294 \uc678\ubd80\uc5d0 \ub3c5\ub9bd upstream repository \uac00 \uc788\uc5b4 \uc591\ubc29\ud5a5 \ub3d9\uae30\ud654\uac00 \ud544\uc694\ud55c \uacbd\uc6b0\uc5d0\ub9cc \uc4f4\ub2e4.\n\ud761\uc218\ub41c \ub0b4\uc6a9\uc740 \ubd80\ubaa8 commit hash \uc548\uc5d0 \ubb3c\ub9ac\uc801\uc73c\ub85c \ub0a8\uc73c\ubbc0\ub85c \uc694\uad6c\uc0ac\ud56d 1 \uacfc \uc694\uad6c\uc0ac\ud56d 3 \uc744 \ub9cc\uc871\ud55c\ub2e4.<\/p>\n<p dir=\"auto\"><code>git submodule<\/code> \uacfc symlink \ub294 pointer \ub098 link \uacbd\ub85c\ub9cc \uc800\uc7a5\ud558\ubbc0\ub85c \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc73c\uba70, \uadf8 \uc774\uc720\ub294 2.2 \uc5d0\uc11c\n\uc124\uba85\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">2.2. Exclusion of Submodule and Symlink<\/h3><a id=\"user-content-22-exclusion-of-submodule-and-symlink\" class=\"anchor\" aria-label=\"Permalink: 2.2. Exclusion of Submodule and Symlink\" href=\"#22-exclusion-of-submodule-and-symlink\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">1 \ubc88\ubd80\ud130 4 \ubc88\uae4c\uc9c0\ub294 \ub0b4\uc6a9\uc744 \ubd80\ubaa8 repository \uc548\uc5d0 \uc2e4\uc81c\ub85c \ub123\uc9c0\ub9cc, submodule \uacfc symlink \ub294 pointer \ub098\nlink \ub9cc \ub123\ub294\ub2e4. \uadf8\ub798\uc11c commit hash \ud558\ub098\ub85c \uc804\uccb4\ub97c \uc7ac\ud604\ud55c\ub2e4\ub294 \uc804\uc81c\uac00 \uae68\uc9c4\ub2e4.<\/p>\n<p dir=\"auto\">Table 2. Whether each method satisfies the requirements.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>One commit hash equals all code<\/th>\n<th>Download<\/th>\n<th>Hardcoding<\/th>\n<th>Reproducibility<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>mkdir<\/code>, <code>cp<\/code>, <code>read-tree<\/code><\/td>\n<td>Hash \uc548\uc5d0 code file \uc774 \ubb3c\ub9ac\uc801\uc73c\ub85c \ud3ec\ud568\ub41c\ub2e4<\/td>\n<td><code>clone<\/code> \ud55c \ubc88\uc774\uba74 \ub05d\ub09c\ub2e4<\/td>\n<td>\uc5c6\ub2e4<\/td>\n<td>\ubcf4\uc7a5\ub41c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td><code>git subtree<\/code><\/td>\n<td>\ub0b4\uc6a9\uc774 \ubd80\ubaa8 repository \ub85c \ud761\uc218\ub41c\ub2e4<\/td>\n<td><code>clone<\/code> \ud55c \ubc88\uc774\uba74 \ub05d\ub09c\ub2e4<\/td>\n<td>\uc5c6\ub2e4<\/td>\n<td>\ubcf4\uc7a5\ub41c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td><code>git submodule<\/code><\/td>\n<td>Hash \ub294 pointer \ub9cc \uc800\uc7a5\ud55c\ub2e4<\/td>\n<td><code>clone --recurse<\/code> \uc640 submodule \ubcc4 fetch \ubc0f \uc778\uc99d\uc774 \ud544\uc694\ud558\ub2e4<\/td>\n<td><code>.gitmodules<\/code> \uc5d0 URL \uc774 \ubc15\ud78c\ub2e4<\/td>\n<td>Submodule \uc758 remote \uac00 \uc0b4\uc544 \uc788\uc5b4\uc57c \ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Symlink<\/td>\n<td>Hash \ub294 link \uacbd\ub85c\ub9cc \uc800\uc7a5\ud55c\ub2e4<\/td>\n<td><code>clone<\/code> \uc740 \ud55c \ubc88\uc774\uc9c0\ub9cc \ub300\uc0c1\uc740 \ub530\ub77c\uc624\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<td>Link \uc5d0 \ub300\uc0c1 \uacbd\ub85c\uac00 \ubc15\ud78c\ub2e4<\/td>\n<td>\ub300\uc0c1\uc774 \uadf8\ub300\ub85c \uc788\uc5b4\uc57c \ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\uc694\uad6c\uc0ac\ud56d 3 \uc744 \uc704\ubc18\ud558\ub294 \uc774\uc720\ub294 \ubd80\ubaa8 commit \uc774 submodule \uc774 \uac00\ub9ac\ud0a4\ub294 commit \uc758 pointer \ub9cc \ub2f4\uae30\n\ub54c\ubb38\uc774\ub2e4. Symlink \ub294 \ub300\uc0c1 \uacbd\ub85c \ubb38\uc790\uc5f4\ub9cc \ub2f4\ub294\ub2e4. \uc2e4\uc81c code \ub294 \uc7ac\uadc0 fetch \ub098 \ub300\uc0c1 \uacbd\ub85c\uac00 \ucd94\uac00\ub85c\n\ud544\uc694\ud558\ubbc0\ub85c hash \ud558\ub098\ub85c \ub05d\ub098\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<p dir=\"auto\">\uc694\uad6c\uc0ac\ud56d 4 \ub97c \uc704\ubc18\ud558\ub294 \uc774\uc720\ub294 submodule \uc774 pull \uc5d0 \uc7ac\uadc0 option \uacfc submodule \ubcc4 \uc790\uaca9\uc99d\uba85\uc744\n\uc694\uad6c\ud558\uace0 push \uc5d0 \ub450 \ub2e8\uacc4\ub97c \uc694\uad6c\ud558\uae30 \ub54c\ubb38\uc774\ub2e4. Symlink \ub294 \ub300\uc0c1\uc774 repository \ubc16\uc5d0 \uc788\uc73c\uba74 download\n\ub85c \ud568\uaed8 \uc624\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<p dir=\"auto\">\uc694\uad6c\uc0ac\ud56d 5 \ub97c \uc704\ubc18\ud558\ub294 \uc774\uc720\ub294 submodule \uc774 <code>.gitmodules<\/code> \uc5d0 URL \uc744 \ubc15\uace0 symlink \uac00 link \uc5d0 \ub300\uc0c1\n\uacbd\ub85c\ub97c \ubc15\uae30 \ub54c\ubb38\uc774\ub2e4.<\/p>\n<p dir=\"auto\"><code>cp<\/code> \ub85c \ub123\uc744 \ub54c \uc678\ubd80 repository \uc758 <code>.git<\/code> \uc744 \ud568\uaed8 \ub123\uc73c\uba74 \ub4f1\ub85d\ub418\uc9c0 \uc54a\uc740 \ub0b4\ubd80 repository \uac00 \ub418\uc5b4\nsubmodule \uacfc \uac19\uc740 \ubb38\uc81c\uac00 \uc0dd\uae30\ubbc0\ub85c, \ubc18\ub4dc\uc2dc <code>.git<\/code> \uc744 \uc81c\uac70\ud558\uace0 plain file \ub85c \ub123\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Directory Layout<\/h2><a id=\"user-content-3-directory-layout\" class=\"anchor\" aria-label=\"Permalink: 3. Directory Layout\" href=\"#3-directory-layout\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"repo\/\n|-- experiment_1\/\n|   +-- my_flow.py             # experiment flow locked to an exact commit hash\n|-- experiment_2\/\n|   +-- other_flow.py          # another experiment flow\n+-- common\/                    # shared scripts and resources for flows\"><pre lang=\"text\" class=\"notranslate\"><code>repo\/\n|-- experiment_1\/\n|   +-- my_flow.py             # experiment flow locked to an exact commit hash\n|-- experiment_2\/\n|   +-- other_flow.py          # another experiment flow\n+-- common\/                    # shared scripts and resources for flows\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 1. Monorepo directory layout.<\/p>\n<p dir=\"auto\">\uac01 \uc2e4\ud5d8\uc740 \uc790\uae30 folder \uc548\uc5d0\uc11c \uc790\uc720\ub86d\uac8c \uad6c\uc131\ud558\uba70 folder \ub07c\ub9ac\ub294 \ucda9\ub3cc\ud558\uc9c0 \uc54a\ub294\ub2e4. \uc5ec\ub7ec \uc2e4\ud5d8\uc774\n\uacf5\uc720\ud558\ub294 script \uc640 resource \ub294 <code>common\/<\/code> \uc5d0 \ub454\ub2e4. Code \ub97c \ucd94\uac00\ud558\ub294 \uc791\uc5c5\uc740 folder \uc640 file \uc744 \ub9cc\ub4e4\uace0\n<code>main<\/code> \uc5d0 commit \ud558\ub294 \uac83\uc73c\ub85c \ub05d\ub09c\ub2e4. Branch \ub97c \ub9cc\ub4e4\uc9c0 \uc54a\uace0 <code>main<\/code> \uc5d0 \uc9c1\uc811 commit \ud558\uba70, \ubc30\ud3ec\uc640\n\uc2e4\ud589\uc5d0 \uc4f0\ub294 \uac83\uc740 <code>main<\/code> \uc758 commit hash \ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Reproducibility<\/h2><a id=\"user-content-4-reproducibility\" class=\"anchor\" aria-label=\"Permalink: 4. Reproducibility\" href=\"#4-reproducibility\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ubc30\ud3ec\uc640 \uc2e4\ud589 \ub300\uc0c1\uc740 \ud56d\uc0c1 branch \ub098 tag \uac00 \uc544\ub2c8\ub77c 40\uc790 commit hash \ub85c \uc9c0\uc815\ud55c\ub2e4. Tag \uc640 branch \ub294\n\uc6c0\uc9c1\uc77c \uc218 \uc788\uc5b4 \uc7ac\ud604\uc131\uc774 \uae68\uc9c0\uc9c0\ub9cc hash \ub294 \ubd88\ubcc0\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Monorepo \uc774\ubbc0\ub85c commit \ud558\ub098\ub97c \ubc1b\uc73c\uba74 \uadf8 \uc2dc\uc810\uc758 \uc791\uc5c5 \uc804\uccb4 tree \uac00 \ud1b5\uc9f8\ub85c \uc628\ub2e4. \uc5b4\ub5a4 flow code \uac00\n\uc2e4\ud589\ub418\uc5c8\ub294\uc9c0\uac00 commit hash \ud558\ub098\ub85c \uc644\uc804\ud788 \uace0\uc815\ub41c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Hardcoding Prohibition<\/h2><a id=\"user-content-5-hardcoding-prohibition\" class=\"anchor\" aria-label=\"Permalink: 5. Hardcoding Prohibition\" href=\"#5-hardcoding-prohibition\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Repository URL \uacfc commit hash \uc640 \uc2e4\ud589\ud560 code \uacbd\ub85c\ub97c code \uc5d0 literal \ub85c \ubc15\uc9c0 \uc54a\ub294\ub2e4. \ud658\uacbd\ubcc0\uc218\uc640\n\uc2e4\ud589 \uc778\uc790\uc640 \uc124\uc815 file \ub85c \uc8fc\uc785\ud55c\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"export SOURCE_REPO_URL=&quot;&lt;REPO_URL&gt;&quot;\nexport SOURCE_COMMIT_SHA=&quot;&lt;COMMIT_SHA&gt;&quot;\nexport FLOW_PATH=&quot;&lt;FLOW_PATH&gt;&quot;\"><pre><span class=\"pl-k\">export<\/span> SOURCE_REPO_URL=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>&lt;REPO_URL&gt;<span class=\"pl-pds\">\"<\/span><\/span>\n<span class=\"pl-k\">export<\/span> SOURCE_COMMIT_SHA=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>&lt;COMMIT_SHA&gt;<span class=\"pl-pds\">\"<\/span><\/span>\n<span class=\"pl-k\">export<\/span> FLOW_PATH=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>&lt;FLOW_PATH&gt;<span class=\"pl-pds\">\"<\/span><\/span><\/pre><\/div>\n<p dir=\"auto\">\uc2e4\ud589\ud560 flow \uacbd\ub85c\ub3c4 \uc704\uc640 \uac19\uc774 \ud658\uacbd\ubcc0\uc218\ub098 \uc778\uc790\ub85c \uc8fc\uc785\ud558\uace0 code \uc5d0 \ubc15\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Upload Command<\/h2><a id=\"user-content-6-upload-command\" class=\"anchor\" aria-label=\"Permalink: 6. Upload Command\" href=\"#6-upload-command\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Monorepo \uc758 <code>main<\/code> \uc744 \uae30\uc900\uc73c\ub85c \ud55c\ub2e4. Subtree \uac00 \uc5c6\ub294 \ud3c9\uc0c1\uc2dc \ud750\ub984\uacfc subtree \uac00 \uc788\ub294 \ub3d9\uae30\ud654 \ud750\ub984\uc744\n\ub098\ub208\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.1. Without Subtree<\/h3><a id=\"user-content-61-without-subtree\" class=\"anchor\" aria-label=\"Permalink: 6.1. Without Subtree\" href=\"#61-without-subtree\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Code \ub97c \ucd94\uac00\ud558\uac70\ub098 \uc218\uc815\ud558\ub294 \ud3c9\uc0c1\uc2dc \ud750\ub984\uc774\uba70 \uac70\uc758 \ubaa8\ub4e0 \uc791\uc5c5\uc774 \uc5ec\uae30\uc5d0 \ud574\ub2f9\ud55c\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git add -A\ngit commit -m &quot;&lt;MESSAGE&gt;&quot;\ngit push origin main\n\n# print the commit hash that fixes this exact version\ngit rev-parse HEAD\"><pre>git add -A\ngit commit -m <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>&lt;MESSAGE&gt;<span class=\"pl-pds\">\"<\/span><\/span>\ngit push origin main\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> print the commit hash that fixes this exact version<\/span>\ngit rev-parse HEAD<\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.2. With Subtree<\/h3><a id=\"user-content-62-with-subtree\" class=\"anchor\" aria-label=\"Permalink: 6.2. With Subtree\" href=\"#62-with-subtree\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc678\ubd80 upstream \uc744 \ud761\uc218\ud55c subtree folder \ub97c \uac70\uafb8\ub85c \ubc00\uc5b4 \uc62c\ub9ac\uac70\ub098 \uac31\uc2e0\ud560 \ub54c\ub9cc \uc4f4\ub2e4. Subtree folder \uac00\n\uc5c6\ub2e4\uba74 \uc774 \uc808\uc740 \uac74\ub108\ub6f4\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# push local subtree changes back up to the upstream\ngit subtree push --prefix=common\/&lt;SHARED&gt; &lt;REMOTE_URL&gt; main\n\n# pull upstream changes down into the subtree\ngit subtree pull --prefix=common\/&lt;SHARED&gt; &lt;REMOTE_URL&gt; main --squash\"><pre><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> push local subtree changes back up to the upstream<\/span>\ngit subtree push --prefix=common\/<span class=\"pl-k\">&lt;<\/span>SHARED<span class=\"pl-k\">&gt;<\/span> <span class=\"pl-k\">&lt;<\/span>REMOTE_URL<span class=\"pl-k\">&gt;<\/span> main\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> pull upstream changes down into the subtree<\/span>\ngit subtree pull --prefix=common\/<span class=\"pl-k\">&lt;<\/span>SHARED<span class=\"pl-k\">&gt;<\/span> <span class=\"pl-k\">&lt;<\/span>REMOTE_URL<span class=\"pl-k\">&gt;<\/span> main --squash<\/pre><\/div>\n<p dir=\"auto\"><code>&lt;SHARED&gt;<\/code> \ub294 \uc678\ubd80 upstream \uc744 \ud761\uc218\ud574 \ub454 subtree folder \uc758 \uc774\ub984\uc774\uace0, <code>&lt;REMOTE_URL&gt;<\/code> \uc740 \uadf8 upstream\nrepository \uc758 \uc8fc\uc18c\ub2e4. <code>git subtree<\/code> \ub294 monorepo \uc758 root folder \uc5d0\uc11c \uc2e4\ud589\ud574\uc57c \ud558\uba70, \ud558\uc704 folder \uc5d0\uc11c\n\uc2e4\ud589\ud558\uba74 git \uc774 toplevel \uc774 \uc544\ub2c8\ub77c\uba70 \uac70\ubd80\ud55c\ub2e4. <code>--prefix<\/code> \uc5d0 \uc801\ub294 \uacbd\ub85c\ub3c4 root \ub97c \uae30\uc900\uc73c\ub85c \uc4f4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Download Command<\/h2><a id=\"user-content-7-download-command\" class=\"anchor\" aria-label=\"Permalink: 7. Download Command\" href=\"#7-download-command\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Download \ub294 \uc6d0\ud558\ub294 \ud558\uc704 folder \ud558\ub098\ub9cc \ub530\ub85c \ubc1b\ub294 \uac83\uc774 \uc544\ub2c8\ub77c, \uadf8 folder \ub97c \ud3ec\ud568\ud55c repository \ub97c\n\ud1b5\uc9f8\ub85c \ubc1b\ub294 \uba85\ub839\uc774\ub2e4. \ubc1b\uc740 \ub4a4 \uadf8 \uc548\uc5d0\uc11c \ud544\uc694\ud55c \ud558\uc704 folder \ub97c \uace8\ub77c \uc4f4\ub2e4. 7.1 \uc740 \uc804\uccb4 history \uc640\nfile \uc744 \ubc1b\uace0, 7.2 \ub294 \ud574\ub2f9 commit \uc2dc\uc810\uc758 tree \uc804\ubd80\ub97c \ubc1b\uc73c\uba70, 7.3 \uc740 \uac19\uc740 tree \ub97c \ubcc4\ub3c4\uc758 detached\nworktree \ub85c \ud3bc\uce5c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.1. Full Clone<\/h3><a id=\"user-content-71-full-clone\" class=\"anchor\" aria-label=\"Permalink: 7.1. Full Clone\" href=\"#71-full-clone\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# full clone then checkout the hash; the whole code tree comes with it\ngit clone &lt;REPO_URL&gt; _src\ngit -C _src checkout &lt;COMMIT_SHA&gt;\"><pre><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> full clone then checkout the hash; the whole code tree comes with it<\/span>\ngit clone <span class=\"pl-k\">&lt;<\/span>REPO_URL<span class=\"pl-k\">&gt;<\/span> _src\ngit -C _src checkout <span class=\"pl-k\">&lt;<\/span>COMMIT_SHA<span class=\"pl-k\">&gt;<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.2. Shallow Fetch<\/h3><a id=\"user-content-72-shallow-fetch\" class=\"anchor\" aria-label=\"Permalink: 7.2. Shallow Fetch\" href=\"#72-shallow-fetch\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"mkdir _src\ncd _src\ngit init -q\ngit remote add origin &lt;REPO_URL&gt;\ngit fetch --depth 1 origin &lt;COMMIT_SHA&gt;    # shallow fetch\ngit checkout FETCH_HEAD\"><pre>mkdir _src\n<span class=\"pl-c1\">cd<\/span> _src\ngit init -q\ngit remote add origin <span class=\"pl-k\">&lt;<\/span>REPO_URL<span class=\"pl-k\">&gt;<\/span>\ngit fetch --depth 1 origin <span class=\"pl-k\">&lt;<\/span>COMMIT_SHA<span class=\"pl-k\">&gt;<\/span>    <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> shallow fetch<\/span>\ngit checkout FETCH_HEAD<\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.3. Worktree<\/h3><a id=\"user-content-73-worktree\" class=\"anchor\" aria-label=\"Permalink: 7.3. Worktree\" href=\"#73-worktree\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Shallow fetch \ub85c \ubc1b\uc740 commit \uc744 \ubcc4\ub3c4\uc758 detached worktree directory \ub85c \ud3bc\uccd0 \uc2e4\ud589\ud558\uace0 \uc7ac\ud604\ud560 \ub54c \uc4f4\ub2e4.\n<code>git worktree add<\/code> \ub294 \uac19\uc740 repository \uc5d0 \uc5f0\uacb0\ub41c \ub610 \ud558\ub098\uc758 \uc791\uc5c5 directory \ub97c \uc0c8\ub85c \ub9cc\ub4e0\ub2e4. \uadf8\ub798\uc11c\n\ub9e8 \ucc98\uc74c \ub9cc\ub4e4\uc5b4\uc9c4 main worktree \uc5d0 \ubb34\uc5c7\uc774 checkout \ub418\uc5b4 \uc788\ub4e0 \uadf8\ub300\ub85c \ub450\uace0, \uc0c8 worktree directory \uc5d0\ub9cc\n\ub300\uc0c1 commit \uc744 \ud3bc\uce5c\ub2e4. \uc989 main worktree \uc758 branch \uc640 file \uc744 \uac74\ub4dc\ub9ac\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git init &lt;REPO&gt;\ngit -C &lt;REPO&gt; remote add origin &lt;REPO_URL&gt;\ngit -C &lt;REPO&gt; fetch --depth 1 origin &lt;COMMIT_SHA&gt;   # shallow fetch\n# expand the fetched commit into a clean detached worktree\ngit -C &lt;REPO&gt; worktree add --detach &lt;SCRIPT&gt; &lt;COMMIT_SHA&gt;\"><pre>git init <span class=\"pl-k\">&lt;<\/span>REPO<span class=\"pl-k\">&gt;<\/span>\ngit -C <span class=\"pl-k\">&lt;<\/span>REPO<span class=\"pl-k\">&gt;<\/span> remote add origin <span class=\"pl-k\">&lt;<\/span>REPO_URL<span class=\"pl-k\">&gt;<\/span>\ngit -C <span class=\"pl-k\">&lt;<\/span>REPO<span class=\"pl-k\">&gt;<\/span> fetch --depth 1 origin <span class=\"pl-k\">&lt;<\/span>COMMIT_SHA<span class=\"pl-k\">&gt;<\/span>   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> shallow fetch<\/span>\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> expand the fetched commit into a clean detached worktree<\/span>\ngit -C <span class=\"pl-k\">&lt;<\/span>REPO<span class=\"pl-k\">&gt;<\/span> worktree add --detach <span class=\"pl-k\">&lt;<\/span>SCRIPT<span class=\"pl-k\">&gt;<\/span> <span class=\"pl-k\">&lt;<\/span>COMMIT_SHA<span class=\"pl-k\">&gt;<\/span><\/pre><\/div>\n<p dir=\"auto\"><code>--detach<\/code> \ub294 \uc0c8 worktree \uc758 HEAD \ub97c branch \uc5d0 \ubd99\uc774\uc9c0 \uc54a\uace0 \uc9c0\uc815\ud55c commit \uc5d0 detached HEAD \ub85c\n\uace0\uc815\ud55c\ub2e4. \uc7ac\ud604\uc5d0\ub294 \ud2b9\uc815 commit \uc758 snapshot \ub9cc \uc788\uc73c\uba74 \ub418\uace0 branch \uac00 \ud544\uc694 \uc5c6\ub2e4. \ub610\ud55c branch \ub97c \uc4f0\uba74\n\uac19\uc740 branch \ub97c \ub450 worktree \uc5d0 \ub3d9\uc2dc\uc5d0 checkout \ud560 \uc218 \uc5c6\ub2e4\ub294 \uc81c\uc57d\uc5d0 \uac78\ub9ac\ub294\ub370, <code>--detach<\/code> \ub294 branch \ub97c\n\ub9cc\ub4e4\uc9c0 \uc54a\uc73c\ubbc0\ub85c \uc774\ub97c \ud53c\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">7.4. Trade-offs<\/h3><a id=\"user-content-74-trade-offs\" class=\"anchor\" aria-label=\"Permalink: 7.4. Trade-offs\" href=\"#74-trade-offs\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Table 3. Comparison of clone, shallow fetch, and worktree.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>Result<\/th>\n<th>Download<\/th>\n<th>Needs arbitrary-SHA fetch<\/th>\n<th>Pros<\/th>\n<th>Cons<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Full clone<\/td>\n<td>\ub3c5\ub9bd\ub41c repository \uc0ac\ubcf8\uc774 \ub0a8\ub294\ub2e4<\/td>\n<td>\uc804\uccb4 history \uc640 file \uc744 \ubc1b\ub294\ub2e4<\/td>\n<td>\ud544\uc694\ud558\uc9c0 \uc54a\ub2e4<\/td>\n<td>\uac00\uc7a5 \ub2e8\uc21c\ud558\uace0 \uc5b4\ub5a4 server \uc5d0\uc11c\ub3c4 \ub3d9\uc791\ud558\uba70 \uc804\uccb4 history \uac00 \ub0a8\ub294\ub2e4<\/td>\n<td>\uc804\uccb4 history \ub97c \ubc1b\uc544 \ubb34\uac81\uace0 \ub290\ub9ac\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Shallow fetch<\/td>\n<td>\ub2e8\uc77c commit tree \ub9cc \ub0a8\ub294\ub2e4<\/td>\n<td>\ud574\ub2f9 commit tree \ub9cc \ubc1b\ub294\ub2e4<\/td>\n<td>\ud544\uc694\ud558\ub2e4<\/td>\n<td>Download \uac00 \ucd5c\uc18c\ub77c \uac00\uc7a5 \ube60\ub974\ub2e4<\/td>\n<td>Server \uac00 \ub9c9\uc73c\uba74 \uc2e4\ud328\ud558\uace0 history \uac00 \uc5c6\uc5b4 \uc774\ud6c4 git \uc791\uc5c5\uc774 \uc81c\uc57d\ub41c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Worktree<\/td>\n<td>Main worktree \uc640 detached worktree \uac00 \ud568\uaed8 \ub0a8\ub294\ub2e4<\/td>\n<td>\ud574\ub2f9 commit tree \ub9cc \ubc1b\ub294\ub2e4<\/td>\n<td>\ud544\uc694\ud558\ub2e4<\/td>\n<td>\ubc1b\uc740 commit \uc744 main worktree \uc640 \ubd84\ub9ac\ub41c \uae68\ub057\ud55c directory \ub85c \ud3bc\uce5c\ub2e4<\/td>\n<td>Worktree \ub97c \ub530\ub85c \uad00\ub9ac\ud574\uc57c \ud558\uace0 server \uac00 \ub9c9\uc73c\uba74 \uc2e4\ud328\ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\uc784\uc758 SHA fetch \ub97c server \uac00 \ub9c9\uc73c\uba74 shallow fetch \ubc29\uc2dd\uacfc worktree \ubc29\uc2dd\uc740 \uc2e4\ud328\ud558\ubbc0\ub85c full clone \uc73c\ub85c\n\ub300\uccb4\ud55c\ub2e4. \ub2e8\ubc1c \uc2e4\ud589\uacfc \uc7ac\ud604\uc740 \uc14b \uc911 \ud558\ub098\ub85c \ubc1b\uc544 \uadf8 \uc790\ub9ac\uc5d0\uc11c \uc2e4\ud589\ud55c\ub2e4. Main worktree \ub97c \uac74\ub4dc\ub9ac\uc9c0\n\uc54a\uace0 \ubcc4\ub3c4 directory \uc5d0\uc11c \uc7ac\ud604\ud558\ub824\uba74 worktree \ubc29\uc2dd\uc744 \uc4f4\ub2e4.<\/p>\n<p dir=\"auto\">Checkout \ub418\uc5c8\uac70\ub098 worktree \ub85c \ud3bc\uccd0\uc9c4 tree \uc5d0\uc11c \ud558\uc704 folder \uc758 flow file \uc744 \uadf8\ub300\ub85c \uc2e4\ud589\ud558\uba74, \uadf8\ncommit hash \ub85c \uace0\uc815\ud55c \uc2dc\uc810\uc758 code \uac00 \uadf8\ub300\ub85c \uc7ac\ud604\ub41c\ub2e4.<\/p>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>Commit hash<\/strong>: Commit \ud558\ub098\ub97c \uac00\ub9ac\ud0a4\ub294 40\uc790 \uc2dd\ubcc4\uc790\ub2e4. \ubd88\ubcc0\uc774\ubbc0\ub85c version \uc744 \uace0\uc815\ud558\ub294 \uae30\uc900\uc73c\ub85c \uc4f4\ub2e4.<\/li>\n<li><strong>Detached HEAD<\/strong>: HEAD \uac00 branch \uac00 \uc544\ub2c8\ub77c \ud2b9\uc815 commit \uc744 \uc9c1\uc811 \uac00\ub9ac\ud0a4\ub294 \uc0c1\ud0dc\ub2e4.<\/li>\n<li><strong>Embedded repository<\/strong>: \ub2e4\ub978 repository \uc758 <code>.git<\/code> \uc774 \ud558\uc704 folder \uc5d0 \uadf8\ub300\ub85c \ub538\ub824 \ub4e4\uc5b4\uc640 \ub4f1\ub85d\ub418\uc9c0 \uc54a\uc740 \ub0b4\ubd80 repository \uac00 \ub41c \uc0c1\ud0dc\ub2e4.<\/li>\n<li><strong>Flow<\/strong>: \ud558\ub098\uc758 \uc2e4\ud5d8\uc744 \uc2e4\ud589\ud558\ub294 code \ub2e8\uc704\uc774\uba70, monorepo \uc758 \ud558\uc704 folder \uc5d0 file \ub85c \ub193\uc778\ub2e4.<\/li>\n<li><strong>Gitlink<\/strong>: \ubd80\ubaa8 repository \uac00 submodule \uc758 commit \uc744 \uac00\ub9ac\ud0a4\uae30 \uc704\ud574 \uc800\uc7a5\ud558\ub294 pointer \ub2e4.<\/li>\n<li><strong>Monorepo<\/strong>: \uc5ec\ub7ec \uc791\uc5c5\uacfc code \ub97c \ud558\ub098\uc758 repository \uc5d0 \ubaa8\uc544 \ub450\ub294 \uad6c\uc870\ub2e4.<\/li>\n<li><strong>Read-tree<\/strong>: \ub2e4\ub978 tree \ub098 commit \uc744 index \uc758 \uc9c0\uc815\ud55c \uacbd\ub85c\ub85c \uc9c1\uc811 \uc77d\uc5b4 \ub123\ub294 \uc800\uc218\uc900 \uba85\ub839\uc774\ub2e4.<\/li>\n<li><strong>Shallow fetch<\/strong>: <code>--depth<\/code> option \uc73c\ub85c history \uc758 \uc77c\ubd80\ub9cc \ubc1b\uc544 \uc624\ub294 fetch \ub2e4.<\/li>\n<li><strong>Submodule<\/strong>: \uc678\ubd80 repository \ub97c pointer \ub85c\ub9cc \ucc38\uc870\ud574 \ud558\uc704 folder \uc5d0 \ub450\ub294 \ubc29\uc2dd\uc774\ub2e4.<\/li>\n<li><strong>Subtree<\/strong>: \uc678\ubd80 repository \uc758 \ub0b4\uc6a9\uc744 \ubd80\ubaa8 repository \uc758 history \ub85c \ud761\uc218\ud574 \ud558\uc704 folder \uc5d0 \ub450\ub294 \ubc29\uc2dd\uc774\ub2e4.<\/li>\n<li><strong>Symlink<\/strong>: \ub2e4\ub978 \uacbd\ub85c\ub97c \uac00\ub9ac\ud0a4\ub294 symbolic link \ub2e4. git \uc740 link \uc758 \uacbd\ub85c \ubb38\uc790\uc5f4\ub9cc \uc800\uc7a5\ud55c\ub2e4.<\/li>\n<li><strong>Tag<\/strong>: \ud2b9\uc815 commit \uc5d0 \ubd99\uc774\ub294 \uc774\ub984\ud45c\ub2e4. \uc62e\uaca8 \ubd99\uc77c \uc218 \uc788\uc73c\ubbc0\ub85c version \uace0\uc815\uc758 \uae30\uc900\uc73c\ub85c \uc4f0\uc9c0 \uc54a\ub294\ub2e4.<\/li>\n<li><strong>Upstream<\/strong>: Subtree \ub098 fork \uc758 \ucd9c\ucc98\uac00 \ub418\ub294 \uc678\ubd80 repository \ub2e4.<\/li>\n<li><strong>Vendoring<\/strong>: \uc678\ubd80 code \ub97c \ubcf5\uc0ac\ud574 \uc790\uae30 repository \uc548\uc5d0 plain file \ub85c \ud3ec\ud568\uc2dc\ud0a4\ub294 \ubc29\uc2dd\uc774\ub2e4.<\/li>\n<li><strong>Worktree<\/strong>: \uac19\uc740 repository \uc5d0 \uc5f0\uacb0\ub41c \ubcc4\ub3c4\uc758 \uc791\uc5c5 directory \ub2e4. Main worktree \ub294 \ub9e8 \ucc98\uc74c \ub9cc\ub4e4\uc5b4\uc9c4 \uae30\ubcf8 \uc791\uc5c5 directory \ub97c \uac00\ub9ac\ud0a8\ub2e4.<\/li>\n<\/ul>\n<\/article><\/div><\/div><\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>A convention for a single monorepo whose code is distributed by a forty-character commit hash, so what ran is reproducible. A subfolder is allowed only when its content lives physically in the parent commit, which rules out submodules and symlinks, and repository URL, hash and path are injected rather than hardcoded.<\/p>\n","protected":false},"author":4,"featured_media":7203,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","fifu_image_url":"","fifu_image_alt":"","iawp_total_views":5,"footnotes":""},"categories":[378,10],"tags":[386],"class_list":["post-7202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-github","category-software-slug","tag-github-hosted"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"jetpack_featured_media_url":"https:\/\/ykim.synology.me\/wordpress\/wp-content\/uploads\/2026\/09\/multicolor-carrots-produce-display.jpg","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=7202"}],"version-history":[{"count":1,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7202\/revisions"}],"predecessor-version":[{"id":7204,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7202\/revisions\/7204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/7203"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=7202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=7202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=7202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}