{"id":7196,"date":"2026-09-30T15:57:35","date_gmt":"2026-09-30T20:57:35","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/git-fork-collaboration-across-repository-boundaries-2-7196\/"},"modified":"2026-09-30T15:57:46","modified_gmt":"2026-09-30T20:57:46","slug":"git-fork-collaboration-across-repository-boundaries-2","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/git-fork-collaboration-across-repository-boundaries-2-7196\/","title":{"rendered":"Git Fork \u2014 Collaboration Across Repository Boundaries"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/yBarn1\/Images\/blob\/main\/produce\/yellow-lemons-produce-bin.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-fork-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 Fork \u2014 Collaboration Across Repository Boundaries<\/h1><a id=\"user-content-git-fork--collaboration-across-repository-boundaries\" class=\"anchor\" aria-label=\"Permalink: Git Fork \u2014 Collaboration Across Repository Boundaries\" href=\"#git-fork--collaboration-across-repository-boundaries\"><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-08-05 | Updated: 2026-09-07 23:45 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\">Fork \ub294 \ub2e4\ub978 \uc0ac\ub78c\uc758 repository \ub97c \uc790\uae30 \uacc4\uc815 \uc544\ub798 \ubcf5\uc0ac\ubcf8\uc73c\ub85c \ub9cc\ub4dc\ub294 \uae30\ub2a5\uc774\ub2e4. \uc774 \ubb38\uc11c\ub294 fork \ub97c\ncollaboration \uad00\uc810\uc5d0\uc11c \uc815\ub9ac\ud55c\ub2e4. \uba85\ub839\uc744 \uc5b4\ub5bb\uac8c \uc785\ub825\ud558\ub294\uac00\ubcf4\ub2e4, \ub204\uac00 \uc5b4\ub514\uc5d0 \uc4f8 \uad8c\ud55c\uc744 \uac00\uc9c0\uba70\n\ubcc0\uacbd\uc774 \uc5b4\ub5a4 \uacbd\ub85c\ub85c \uc6d0\ubcf8\uc5d0 \ud569\uccd0\uc9c0\ub294\uac00\ub97c \uc911\uc2ec\uc5d0 \ub454\ub2e4.<\/p>\n<p dir=\"auto\">\ub4f1\uc7a5\ud558\ub294 \uc5ed\ud560\uc740 \ub458\uc774\uba70 \ubb38\uc11c \uc804\uccb4\uc5d0\uc11c \uc774 \ub450 \ub0b1\ub9d0\ub9cc \uc4f4\ub2e4. Contributor \ub294 \ubcc0\uacbd\uc744 \ub9cc\ub4e4\uc5b4 \ud569\uccd0 \ub2ec\ub77c\uace0\n\uc694\uccad\ud558\ub294 \uc758\ub8b0\uc790\uc774\uace0, Maintainer \ub294 \uadf8 \uc694\uccad\uc744 \uac80\ud1a0\ud574 \uc6d0\ubcf8\uc5d0 \ud569\uce58\ub294 \uc2b9\uc778\uc790\ub2e4. Fork \ub294 git \uc790\uccb4\uc758\n\uae30\ub2a5\uc774 \uc544\ub2c8\ub77c GitHub \uc774 \uc81c\uacf5\ud558\ub294 \uae30\ub2a5\uc774\uba70, \uc6d0\ubcf8\uc5d0 \uc4f0\uae30 \uad8c\ud55c\uc774 \uc5c6\ub294 Contributor \uac00 \uae30\uc5ec\ud560 \uc218 \uc788\uac8c\n\ud574 \uc8fc\ub294 \uc7a5\uce58\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.<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"  Contributor (requester)                        Maintainer (approver)\n  ==============================                 ==============================\n  owns the fork and the local clone              owns the original repository\n\n  [local] Contributor's machine\n       |   push: allowed\n       v\n  [origin] &lt;CONTRIBUTOR&gt;\/project  -------------&gt; [upstream] &lt;OWNER&gt;\/project\n       ^        pull request: ask to merge            |   review and merge:\n       |                                              |   Maintainer only\n       +--------- fork: server-side copy -------------+\n                  performed once by GitHub\n\n  permissions, not a sequence of steps\n  ---------------------------------------------------------------\n  action                            Contributor   Maintainer\n  push into [origin], the fork      yes           no\n  push directly into [upstream]     no            yes\n  merge a pull request              no            yes\"><pre lang=\"text\" class=\"notranslate\"><code>  Contributor (requester)                        Maintainer (approver)\n  ==============================                 ==============================\n  owns the fork and the local clone              owns the original repository\n\n  &#91;local&#93; Contributor's machine\n       |   push: allowed\n       v\n  &#91;origin&#93; &lt;CONTRIBUTOR&gt;\/project  -------------&gt; &#91;upstream&#93; &lt;OWNER&gt;\/project\n       ^        pull request: ask to merge            |   review and merge:\n       |                                              |   Maintainer only\n       +--------- fork: server-side copy -------------+\n                  performed once by GitHub\n\n  permissions, not a sequence of steps\n  ---------------------------------------------------------------\n  action                            Contributor   Maintainer\n  push into &#91;origin&#93;, the fork      yes           no\n  push directly into &#91;upstream&#93;     no            yes\n  merge a pull request              no            yes\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 1. Roles, repositories, and the permission each role holds.<\/p>\n<p dir=\"auto\">Contributor \uc758 \ubcc0\uacbd\uc740 local \uc5d0\uc11c origin \uc73c\ub85c push \ub418\uace0, origin \uc5d0\uc11c upstream \uc73c\ub85c\ub294 pull request \ub97c\n\ud1b5\ud574\uc11c\ub9cc \ub4e4\uc5b4\uac00\uba70, \uadf8 pull request \ub97c \uc2e4\uc81c\ub85c \ud569\uce58\ub294 \uc5ed\ud560\uc740 Maintainer \ub2e4. \uc774 \ube44\ub300\uce6d\uc774 fork\ncollaboration \uc758 \ud575\uc2ec\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Fork, Clone, and Branch<\/h2><a id=\"user-content-2-fork-clone-and-branch\" class=\"anchor\" aria-label=\"Permalink: 2. Fork, Clone, and Branch\" href=\"#2-fork-clone-and-branch\"><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\">\uc138 \uac00\uc9c0 \ubaa8\ub450 \ubcf5\uc0ac\ucc98\ub7fc \ubcf4\uc774\uc9c0\ub9cc, \ubcf5\uc0ac\uac00 \uc77c\uc5b4\ub098\ub294 \uc7a5\uc18c\uc640 \uad8c\ud55c \uacbd\uacc4\uac00 \uc11c\ub85c \ub2e4\ub974\ub2e4.<\/p>\n<p dir=\"auto\">Table 1. Comparison of fork, clone, and branch.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Aspect<\/th>\n<th>Fork<\/th>\n<th>Clone<\/th>\n<th>Branch<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Performed by<\/td>\n<td>GitHub server<\/td>\n<td>git on the local machine<\/td>\n<td>git in the same repo<\/td>\n<\/tr>\n<tr>\n<td>Copy location<\/td>\n<td>Contributor \uc758 GitHub \uacc4\uc815<\/td>\n<td>Contributor \uc758 local machine<\/td>\n<td>\uac19\uc740 repository \uc548<\/td>\n<\/tr>\n<tr>\n<td>Creates a new repo<\/td>\n<td>\uc0dd\uc131\ud55c\ub2e4<\/td>\n<td>\uc0dd\uc131\ud558\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<td>\uc0dd\uc131\ud558\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Access to the original<\/td>\n<td>\uc77d\uae30 \uad8c\ud55c\ub9cc \ud544\uc694\ud558\ub2e4<\/td>\n<td>\uc77d\uae30 \uad8c\ud55c\ub9cc \ud544\uc694\ud558\ub2e4<\/td>\n<td>\uc4f0\uae30 \uad8c\ud55c\uc774 \ud544\uc694\ud558\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Path back to the original<\/td>\n<td>pull request<\/td>\n<td>push (\uad8c\ud55c\uc774 \uc788\uc744 \ub54c)<\/td>\n<td>merge \ub610\ub294 pull request<\/td>\n<\/tr>\n<tr>\n<td>Link to the original<\/td>\n<td>fork network \ub85c \uae30\ub85d\ub41c\ub2e4<\/td>\n<td>remote \ub85c \uc5f0\uacb0\ub41c\ub2e4<\/td>\n<td>\uac19\uc740 history \ub97c \uacf5\uc720\ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">Branch \ub294 \uac19\uc740 repository \uc548\uc5d0\uc11c \uc791\uc5c5\uc744 \ub098\ub204\ub294 \ubc29\ubc95\uc774\uba70, \uc4f0\uae30 \uad8c\ud55c\uc744 \uac00\uc9c4 Contributor \uc758 \uae30\ubcf8\n\ub3c4\uad6c\ub2e4. Clone \uc740 \uc5b4\ub5a4 repository \ub4e0 \ub85c\uceec\ub85c \ub0b4\ub824\ubc1b\ub294 \ub3d9\uc791\uc774\uace0, \uad8c\ud55c\uacfc \ubb34\uad00\ud558\uba70 \uadf8 \uc790\uccb4\ub85c\ub294 \uae30\uc5ec\n\uacbd\ub85c\uac00 \uc544\ub2c8\ub2e4. Fork \ub294 \uc4f0\uae30 \uad8c\ud55c\uc774 \uc5c6\ub294 Contributor \uac00 \uc790\uae30 \uc18c\uc720\uc758 push \ub300\uc0c1\uc744 \ud655\ubcf4\ud558\ub294 \ubc29\ubc95\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Clone \ub9cc\uc73c\ub85c\ub294 push \ud560 \uacf3\uc774 \uc5c6\ub2e4. \uad8c\ud55c\uc774 \uc5c6\ub294 repository \ub97c clone \ud55c \ub4a4 push \ud558\uba74 \uac70\uc808\ub41c\ub2e4.\nFork \ub294 Contributor \uac00 push \ud560 \uc218 \uc788\ub294 repository \ub97c \uba3c\uc800 \ub9cc\ub4e4\uc5b4 \ub450\ub294 \ub2e8\uacc4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Collaboration Models<\/h2><a id=\"user-content-3-collaboration-models\" class=\"anchor\" aria-label=\"Permalink: 3. Collaboration Models\" href=\"#3-collaboration-models\"><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\">Collaboration \ubc29\uc2dd\uc740 \ud06c\uac8c \ub450 \uac00\uc9c0\uc774\uba70, fork \ub97c \uc4f0\ub294\uc9c0 \uc5ec\ubd80\ub85c \uac08\ub9b0\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1. Shared Repository Model<\/h3><a id=\"user-content-31-shared-repository-model\" class=\"anchor\" aria-label=\"Permalink: 3.1. Shared Repository Model\" href=\"#31-shared-repository-model\"><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 \ud558\ub098\ub97c \uc5ec\ub7ec \uc0ac\ub78c\uc774 \uacf5\uc720\ud558\uace0, \uac01\uc790 branch \ub97c \ub9cc\ub4e4\uc5b4 pull request \ub97c \uc62c\ub9b0\ub2e4. Fork \uac00\n\uc5c6\uc73c\ubbc0\ub85c Contributor \uc640 Maintainer \uac00 \uac19\uc740 repository \uc548\uc5d0\uc11c \uc6c0\uc9c1\uc778\ub2e4.<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"     [shared repo] &lt;OWNER&gt;\/project \u2014 both roles have write access here\n\n  Contributor (requester)                    Maintainer (approver)\n  pushes a topic branch                      reviews and merges into main\n\n  main --+-- feature\/a --pull request--&gt;  review  --&gt;  merged into main\n         +-- feature\/b --pull request--&gt;  review  --&gt;  merged into main\n              ^                                             ^\n              | Contributor pushes here                     | Maintainer merges here\n              | (no fork involved)                          |\"><pre lang=\"text\" class=\"notranslate\"><code>     &#91;shared repo&#93; &lt;OWNER&gt;\/project \u2014 both roles have write access here\n\n  Contributor (requester)                    Maintainer (approver)\n  pushes a topic branch                      reviews and merges into main\n\n  main --+-- feature\/a --pull request--&gt;  review  --&gt;  merged into main\n         +-- feature\/b --pull request--&gt;  review  --&gt;  merged into main\n              ^                                             ^\n              | Contributor pushes here                     | Maintainer merges here\n              | (no fork involved)                          |\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 2. Shared repository model, where both roles work in one repository.<\/p>\n<p dir=\"auto\">\uc774 \ubc29\uc2dd\uc740 Contributor \uc804\uc6d0\uc774 \uc2e0\ub8b0\ubc1b\uace0 \uc4f0\uae30 \uad8c\ud55c\uc744 \uac00\uc9c4\ub2e4\ub294 \uac83\uc744 \uc804\uc81c\ud55c\ub2e4. \uad6c\uc870\uac00 \ub2e8\uc21c\ud574\uc11c remote\n\uac00 origin \ud558\ub098\ubfd0\uc774\uace0 \ubcc4\ub3c4\uc758 \ub3d9\uae30\ud654 \uac1c\ub150\uc774 \uc5c6\ub2e4. \ub300\uc2e0 \uc544\ubb34\ub098 \ucc38\uc5ec\uc2dc\ud0ac \uc218 \uc5c6\uc73c\uba70, \uad8c\ud55c\uc744 \uc8fc\ub294 \uc21c\uac04\nrepository \uc804\uccb4\uc5d0 \ub300\ud55c \uad8c\ud55c\uc774 \ub41c\ub2e4. \uc0ac\ub0b4 \ud300, \uc18c\uaddc\ubaa8 project, \uac1c\uc778 repository \uac00 \uc5ec\uae30\uc5d0 \ud574\ub2f9\ud558\uace0,\n\uc2e4\uc81c \uc5c5\ubb34 repository \ub294 \ub300\ubd80\ubd84 \uc774 \ubaa8\ub378\uc744 \uc4f4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.2. Fork and Pull Model<\/h3><a id=\"user-content-32-fork-and-pull-model\" class=\"anchor\" aria-label=\"Permalink: 3.2. Fork and Pull Model\" href=\"#32-fork-and-pull-model\"><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\">Contributor \ub294 fork \ub97c \ub9cc\ub4e4\uc5b4 \uc790\uae30 fork \uc5d0 push \ud55c \ub4a4, upstream \uc73c\ub85c pull request \ub97c \uc62c\ub9b0\ub2e4.<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"   [upstream] &lt;OWNER&gt;\/project   &lt;--pull request--  [origin] &lt;CONTRIBUTOR&gt;\/project\n   Maintainer merges here                          Contributor pushes here\n          |                                             ^\n          |  Contributor has read access only           |  push\n          +---------------------------------------------+--- [local] Contributor\"><pre lang=\"text\" class=\"notranslate\"><code>   &#91;upstream&#93; &lt;OWNER&gt;\/project   &lt;--pull request--  &#91;origin&#93; &lt;CONTRIBUTOR&gt;\/project\n   Maintainer merges here                          Contributor pushes here\n          |                                             ^\n          |  Contributor has read access only           |  push\n          +---------------------------------------------+--- &#91;local&#93; Contributor\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 3. Fork and pull model with the two roles.<\/p>\n<p dir=\"auto\">\uc774 \ubc29\uc2dd\uc740 Contributor \uc5d0\uac8c \uad8c\ud55c\uc744 \uc8fc\uc9c0 \uc54a\uace0\ub3c4 \uae30\uc5ec\ub97c \ubc1b\uc544\uc57c \ud558\ub294 \uc0c1\ud669\uc744 \uc804\uc81c\ud55c\ub2e4. \uad8c\ud55c \uc5c6\uc774\n\ub204\uad6c\ub098 \uae30\uc5ec\ud560 \uc218 \uc788\uace0, \uc6d0\ubcf8\uc740 Maintainer \uac00 merge \ud558\uae30 \uc804\uc5d0\ub294 \ubc14\ub00c\uc9c0 \uc54a\ub294\ub2e4. \ub300\uc2e0 remote \uac00 origin \uacfc\nupstream \ub458\uc774 \ub418\uace0, fork \ub97c \ucd5c\uc2e0 \uc0c1\ud0dc\ub85c \uc720\uc9c0\ud558\ub294 \ubd80\ub2f4\uc774 \uc0dd\uae34\ub2e4. Open source, \uc678\ubd80 \ud611\ub825\uc0ac\ub098 \ub2e8\uae30\nContributor \uc758 \uae30\uc5ec, \uc0ac\uace0 \uc704\ud5d8\uc774 \ud070 \uc911\uc694 repository \uac00 \uc5ec\uae30\uc5d0 \ud574\ub2f9\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.3. Model Selection<\/h3><a id=\"user-content-33-model-selection\" class=\"anchor\" aria-label=\"Permalink: 3.3. Model Selection\" href=\"#33-model-selection\"><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 2. Model selection by situation.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Situation<\/th>\n<th>Recommended model<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\uac19\uc740 \ud300\uc774\uace0 \uc11c\ub85c \uc2e0\ub8b0\ud558\uba70 \uc4f0\uae30 \uad8c\ud55c\uc744 \uc904 \uc218 \uc788\ub2e4<\/td>\n<td>Branch \uc640 pull request \ub97c \uc4f0\uace0 fork \ub294 \uc4f0\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>\uc678\ubd80 Contributor \uc774\uac70\ub098 \uad8c\ud55c\uc744 \uc904 \uc218 \uc5c6\ub2e4<\/td>\n<td>Fork \uc640 pull request \ub97c \uc4f4\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>\uc6d0\ubcf8\uc744 \ub2e4\ub978 \ubc29\ud5a5\uc73c\ub85c \ubc1c\uc804\uc2dc\ud0a4\ub824 \ud55c\ub2e4<\/td>\n<td>Fork \ub97c \uc4f0\uac70\ub098 \ub3c5\ub9bd repository \ub97c \ub9cc\ub4e0\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>\ub0a8\uc758 repository \ub97c \ucc38\uace0\ud558\uac70\ub098 \uc2e4\ud5d8\ub9cc \ud55c\ub2e4<\/td>\n<td>Clone \uc73c\ub85c \ucda9\ubd84\ud558\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">Collaboration \uc744 \ud558\ub824\uba74 fork \ub97c \ud574\uc57c \ud55c\ub2e4\ub294 \uac83\uc740 \uc624\ud574\ub2e4. \uad8c\ud55c\uc744 \uc904 \uc218 \uc788\ub294 \uc0c1\ub300\ub77c\uba74 branch \uac00\n\ub354 \ub0ab\ub2e4. Fork \ub294 \uad8c\ud55c \uacbd\uacc4\ub97c \ub118\uae30 \uc704\ud55c \ub3c4\uad6c\uc774\uc9c0 collaboration \uc758 \uae30\ubcf8\ud615\uc774 \uc544\ub2c8\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Contributor Workflow<\/h2><a id=\"user-content-4-contributor-workflow\" class=\"anchor\" aria-label=\"Permalink: 4. Contributor Workflow\" href=\"#4-contributor-workflow\"><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\">Contributor \uc785\uc7a5\uc5d0\uc11c\uc758 \uc804\uccb4 \ud750\ub984\uc774\ub2e4. 4.1 \uacfc 4.2 \ub294 \ucd5c\ucd08 \ud55c \ubc88\ub9cc \uc218\ud589\ud558\uace0, 4.3 \ubd80\ud130 4.7 \uae4c\uc9c0\ub294\n\uae30\uc5ec\ud560 \ub54c\ub9c8\ub2e4 \ubc18\ubcf5\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1. Fork Creation<\/h3><a id=\"user-content-41-fork-creation\" class=\"anchor\" aria-label=\"Permalink: 4.1. Fork Creation\" href=\"#41-fork-creation\"><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\">GitHub \uc6f9 \ud654\uba74\uc5d0\uc11c \uc6d0\ubcf8 repository \uc6b0\uc0c1\ub2e8\uc758 Fork \ub97c \ub204\ub978\ub2e4. GitHub CLI \ub85c\ub3c4 \uac19\uc740 \uc77c\uc744 \ud55c\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gh repo fork &lt;OWNER&gt;\/project --clone       # fork and clone in one step\ngh repo fork &lt;OWNER&gt;\/project --remote      # also set the upstream remote automatically\"><pre>gh repo fork <span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project --clone       <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> fork and clone in one step<\/span>\ngh repo fork <span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project --remote      <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> also set the upstream remote automatically<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2. Remote Configuration<\/h3><a id=\"user-content-42-remote-configuration\" class=\"anchor\" aria-label=\"Permalink: 4.2. Remote Configuration\" href=\"#42-remote-configuration\"><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\">Fork collaboration \uc758 \uaddc\uc57d\uc740 remote \uc774\ub984 \ub450 \uac1c\ub2e4. \uc774 \uc774\ub984\uc744 \uc9c0\ud0a4\uba74 \uc774\ud6c4\uc758 \ubaa8\ub4e0 \uba85\ub839\uc774 \uadf8\ub300\ub85c\n\ud1b5\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">Table 3. Remote roles in a fork workflow.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Remote<\/th>\n<th>Points to<\/th>\n<th>Access<\/th>\n<th>Used for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>origin<\/code><\/td>\n<td>Contributor \uc758 fork<\/td>\n<td>\uc77d\uae30\uc640 \uc4f0\uae30\uac00 \uac00\ub2a5\ud558\ub2e4<\/td>\n<td>Contributor \uac00 \uc790\uae30 branch \ub97c push \ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td><code>upstream<\/code><\/td>\n<td>Maintainer \uac00 \uc18c\uc720\ud55c \uc6d0\ubcf8 repository<\/td>\n<td>\uc77d\uae30\ub9cc \uac00\ub2a5\ud558\ub2e4<\/td>\n<td>\ucd5c\uc2e0 \ubcc0\uacbd\uc744 fetch \ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https:\/\/github.com\/&lt;CONTRIBUTOR&gt;\/project.git   # clone the fork; it becomes 'origin'\ncd project\ngit remote add upstream https:\/\/github.com\/&lt;OWNER&gt;\/project.git   # link the original repo\ngit remote -v                              # verify: origin is the fork, upstream is the original\"><pre>git clone https:\/\/github.com\/<span class=\"pl-k\">&lt;<\/span>CONTRIBUTOR<span class=\"pl-k\">&gt;<\/span>\/project.git   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> clone the fork; it becomes 'origin'<\/span>\n<span class=\"pl-c1\">cd<\/span> project\ngit remote add upstream https:\/\/github.com\/<span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project.git   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> link the original repo<\/span>\ngit remote -v                              <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> verify: origin is the fork, upstream is the original<\/span><\/pre><\/div>\n<p dir=\"auto\"><code>upstream<\/code> \uc740 git \uc774 \uac15\uc81c\ud558\ub294 \uc774\ub984\uc774 \uc544\ub2c8\ub77c \uad00\ub840\ub2e4. \uadf8\ub7ec\ub098 \ub2e4\ub978 Contributor \uc758 \uc124\uba85\uacfc \ub300\ubd80\ubd84\uc758\n\uc548\ub0b4\uac00 \uc774 \uc774\ub984\uc744 \uc804\uc81c\ud558\ubbc0\ub85c \uadf8\ub300\ub85c \ub530\ub974\ub294 \uac83\uc774 \uc88b\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.3. Pre-work Synchronization<\/h3><a id=\"user-content-43-pre-work-synchronization\" class=\"anchor\" aria-label=\"Permalink: 4.3. Pre-work Synchronization\" href=\"#43-pre-work-synchronization\"><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\uc744 \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \ud56d\uc0c1 upstream \uc758 \ucd5c\uc2e0 \uc0c1\ud0dc\uc5d0\uc11c \ucd9c\ubc1c\ud55c\ub2e4. \uc774 \ub2e8\uacc4\ub97c \uac74\ub108\ub6f0\uba74 \ub098\uc911\uc5d0 \ucda9\ub3cc\uc774\n\uc0dd\uae34\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git fetch upstream                         # get upstream history; nothing is merged yet\ngit switch main\ngit merge upstream\/main                    # fast-forward the fork's main to upstream\/main\ngit push origin main                       # keep the fork's main in sync as well\"><pre>git fetch upstream                         <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> get upstream history; nothing is merged yet<\/span>\ngit switch main\ngit merge upstream\/main                    <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> fast-forward the fork's main to upstream\/main<\/span>\ngit push origin main                       <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> keep the fork's main in sync as well<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.4. Topic Branch<\/h3><a id=\"user-content-44-topic-branch\" class=\"anchor\" aria-label=\"Permalink: 4.4. Topic Branch\" href=\"#44-topic-branch\"><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>main<\/code> \uc5d0\uc11c \uc9c1\uc811 \uc791\uc5c5\ud558\uc9c0 \uc54a\uace0 \ubc18\ub4dc\uc2dc topic branch \ub97c \ub9cc\ub4e0\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git switch -c fix\/typo-in-readme upstream\/main   # branch off the freshest upstream state\ngit add -A\ngit commit -m &quot;docs: fix typo in README&quot;\"><pre>git switch -c fix\/typo-in-readme upstream\/main   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> branch off the freshest upstream state<\/span>\ngit add -A\ngit commit -m <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>docs: fix typo in README<span class=\"pl-pds\">\"<\/span><\/span><\/pre><\/div>\n<p dir=\"auto\">Collaboration \uad00\uc810\uc5d0\uc11c \uc774\uc720\ub294 \uc138 \uac00\uc9c0\ub2e4. \uccab\uc9f8, pull request \ud558\ub098\uac00 branch \ud558\ub098\uc5d0 \ub300\uc751\ud558\ubbc0\ub85c\n<code>main<\/code> \uc5d0\uc11c \uc791\uc5c5\ud558\uba74 pull request \ub97c \uc5ec\ub7ec \uac1c \ubcd1\ud589\ud560 \uc218 \uc5c6\ub2e4. \ub458\uc9f8, Maintainer \uac00 \uc218\uc815\uc744 \uc694\uccad\ud558\uba74\n\ud574\ub2f9 branch \uc5d0 commit \uc744 \ub354\ud558\ub294 \uac83\ub9cc\uc73c\ub85c \ubc18\uc601\ub41c\ub2e4. \uc14b\uc9f8, Contributor \uc758 <code>main<\/code> \uc774 upstream \uc744\n\uadf8\ub300\ub85c \ub530\ub77c\uac00\ub294 \uae68\ub057\ud55c \uae30\uc900\uc120\uc73c\ub85c \ub0a8\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.5. Push to the Fork<\/h3><a id=\"user-content-45-push-to-the-fork\" class=\"anchor\" aria-label=\"Permalink: 4.5. Push to the Fork\" href=\"#45-push-to-the-fork\"><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=\"git push -u origin fix\/typo-in-readme      # the first push sets the tracking link\ngit push                                   # afterwards this is enough\"><pre>git push -u origin fix\/typo-in-readme      <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> the first push sets the tracking link<\/span>\ngit push                                   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> afterwards this is enough<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.6. Pull Request Creation<\/h3><a id=\"user-content-46-pull-request-creation\" class=\"anchor\" aria-label=\"Permalink: 4.6. Pull Request Creation\" href=\"#46-pull-request-creation\"><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\">GitHub \uc774 fork \uad00\uacc4\ub97c \uc54c\uace0 \uc788\uc73c\ubbc0\ub85c, push \uc9c1\ud6c4 \uc6d0\ubcf8 repository \ud654\uba74\uc5d0 pull request \uc0dd\uc131 \uc548\ub0b4\uac00\n\ub098\ud0c0\ub09c\ub2e4.<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"  base:  &lt;OWNER&gt;\/project       : main       &lt;- upstream; the Maintainer merges here\n  head:  &lt;CONTRIBUTOR&gt;\/project : fix\/typo   &lt;- the fork; the Contributor pushed here\"><pre lang=\"text\" class=\"notranslate\"><code>  base:  &lt;OWNER&gt;\/project       : main       &lt;- upstream; the Maintainer merges here\n  head:  &lt;CONTRIBUTOR&gt;\/project : fix\/typo   &lt;- the fork; the Contributor pushed here\n<\/code><\/pre><\/div>\n<p dir=\"auto\">Fig 4. Pull request direction from the Contributor's fork to the Maintainer's upstream.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gh pr create --repo &lt;OWNER&gt;\/project --base main --head &lt;CONTRIBUTOR&gt;:fix\/typo-in-readme \\\n  --title &quot;docs: fix typo in README&quot; --body &quot;...&quot;\"><pre>gh pr create --repo <span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project --base main --head <span class=\"pl-k\">&lt;<\/span>CONTRIBUTOR<span class=\"pl-k\">&gt;<\/span>:fix\/typo-in-readme \\\n  --title <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>docs: fix typo in README<span class=\"pl-pds\">\"<\/span><\/span> --body <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>...<span class=\"pl-pds\">\"<\/span><\/span><\/pre><\/div>\n<p dir=\"auto\">Base \ub97c \ubc18\ub4dc\uc2dc \ud655\uc778\ud55c\ub2e4. Base \ub97c \uc798\ubabb \uc9c0\uc815\ud558\uba74 Contributor \uc758 fork \uc548\uc5d0\uc11c \ub05d\ub098\ub294 pull request \uac00 \ub41c\ub2e4. \ub610\ud55c\nAllow edits by maintainers \ub97c \ucf1c \ub450\uba74 Maintainer \uac00 Contributor \uc758 branch \uc5d0 \uc9c1\uc811 commit \uc744 \ub354\ud574\n\uc0ac\uc18c\ud55c \uc218\uc815\uc774\ub098 rebase \ub97c \ub300\uc2e0\ud560 \uc218 \uc788\uc5b4 \uc655\ubcf5\uc774 \uc904\uc5b4\ub4e0\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.7. Review Response<\/h3><a id=\"user-content-47-review-response\" class=\"anchor\" aria-label=\"Permalink: 4.7. Review Response\" href=\"#47-review-response\"><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\">Review comment \uac00 \ub2ec\ub9ac\uba74 \uac19\uc740 branch \uc5d0 commit \uc744 \ub354\ud574 push \ud55c\ub2e4. Pull request \ub294 branch \ub97c\n\ucd94\uc801\ud558\ubbc0\ub85c \uc790\ub3d9\uc73c\ub85c \uac31\uc2e0\ub418\uba70, pull request \ub97c \uc0c8\ub85c \uc5f4\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 add -A\ngit commit -m &quot;review: address feedback&quot;\ngit push                                   # the existing pull request updates itself\"><pre>git add -A\ngit commit -m <span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>review: address feedback<span class=\"pl-pds\">\"<\/span><\/span>\ngit push                                   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> the existing pull request updates itself<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Fork Synchronization<\/h2><a id=\"user-content-5-fork-synchronization\" class=\"anchor\" aria-label=\"Permalink: 5. Fork Synchronization\" href=\"#5-fork-synchronization\"><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\">Fork \ub294 \uc790\ub3d9\uc73c\ub85c \uac31\uc2e0\ub418\uc9c0 \uc54a\ub294\ub2e4. \ub9cc\ub4e4\uc5b4\uc9c4 \uc2dc\uc810\uc758 snapshot \uc774\uba70, \uadf8\ub54c\ubd80\ud130 upstream \uacfc \ubc8c\uc5b4\uc9c4\ub2e4.\n\uc624\ub798 \ubc29\uce58\ub41c fork \ub294 fork collaboration \uc5d0\uc11c \uac00\uc7a5 \ud754\ud55c \uc0ac\uace0 \uc6d0\uc778\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.1. Merge and Rebase<\/h3><a id=\"user-content-51-merge-and-rebase\" class=\"anchor\" aria-label=\"Permalink: 5.1. Merge and Rebase\" href=\"#51-merge-and-rebase\"><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=\"git fetch upstream                         # always start here\n\ngit switch main                            # merge keeps history as it is\ngit merge upstream\/main\n\ngit switch fix\/typo-in-readme              # rebase replays the Contributor's commits onto upstream\ngit rebase upstream\/main\ngit push --force-with-lease                # required after a rebase; never use plain --force\"><pre>git fetch upstream                         <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> always start here<\/span>\n\ngit switch main                            <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> merge keeps history as it is<\/span>\ngit merge upstream\/main\n\ngit switch fix\/typo-in-readme              <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> rebase replays the Contributor's commits onto upstream<\/span>\ngit rebase upstream\/main\ngit push --force-with-lease                <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> required after a rebase; never use plain --force<\/span><\/pre><\/div>\n<p dir=\"auto\">Table 4. Merge versus rebase when updating a fork.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Aspect<\/th>\n<th>Merge<\/th>\n<th>Rebase<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>History<\/td>\n<td>Merge commit \uc774 \ub0a8\ub294\ub2e4<\/td>\n<td>\uc120\ud615\uc73c\ub85c \uc815\ub9ac\ub41c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Safety<\/td>\n<td>History \ub97c \ubcf4\uc874\ud558\ubbc0\ub85c \uc548\uc804\ud558\ub2e4<\/td>\n<td>History \ub97c \uc7ac\uc791\uc131\ud558\ubbc0\ub85c force push \uac00 \ud544\uc694\ud558\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Pull request readability<\/td>\n<td>\uad00\ub828 \uc5c6\ub294 merge commit \uc774 \uc11e\uc778\ub2e4<\/td>\n<td>Contributor \uc758 \ubcc0\uacbd\ub9cc \uae54\ub054\ud558\uac8c \ubcf4\uc778\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Recommended for<\/td>\n<td>\uc774\ubbf8 \uacf5\uc720\ub41c branch \uc774\uac70\ub098 \ud310\ub2e8\uc774 \uc11c\uc9c0 \uc54a\uc744 \ub54c<\/td>\n<td>Contributor \ud63c\uc790 \uc4f0\ub294 fork \uc758 topic branch<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\"><code>--force-with-lease<\/code> \ub97c \uc4f4\ub2e4. <code>--force<\/code> \ub294 \uadf8 \uc0ac\uc774\uc5d0 \uc62c\ub77c\uc628 \ub2e4\ub978 \uc0ac\ub78c\uc758 commit \uc744 \ub9d0\uc5c6\uc774 \uc9c0\uc6b0\uba70,\nMaintainer \uac00 Allow edits by maintainers \ub85c \ub123\uc740 \uc218\uc815\ub3c4 \ud568\uaed8 \uc0ac\ub77c\uc9c4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.2. Synchronization without a Local Clone<\/h3><a id=\"user-content-52-synchronization-without-a-local-clone\" class=\"anchor\" aria-label=\"Permalink: 5.2. Synchronization without a Local Clone\" href=\"#52-synchronization-without-a-local-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<p dir=\"auto\">Fork \uc758 <code>main<\/code> \ub9cc \ub9de\ucd94\uba74 \ub418\ub294 \uacbd\uc6b0\uc5d0\ub294 GitHub \uc774 \ub300\uc2e0 \ucc98\ub9ac\ud55c\ub2e4. \uc6f9 \ud654\uba74\uc5d0\uc11c\ub294 fork repository\n\uc0c1\ub2e8\uc758 Sync fork \ub97c \ub204\ub974\uace0, CLI \uc5d0\uc11c\ub294 \ub2e4\uc74c\uc744 \uc2e4\ud589\ud55c\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gh repo sync &lt;CONTRIBUTOR&gt;\/project --branch main   # update the fork's main from upstream\"><pre>gh repo sync <span class=\"pl-k\">&lt;<\/span>CONTRIBUTOR<span class=\"pl-k\">&gt;<\/span>\/project --branch main   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> update the fork's main from upstream<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.3. Synchronization Cadence<\/h3><a id=\"user-content-53-synchronization-cadence\" class=\"anchor\" aria-label=\"Permalink: 5.3. Synchronization Cadence\" href=\"#53-synchronization-cadence\"><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 5. When to synchronize a fork.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Timing<\/th>\n<th>Action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\uc0c8 \uc791\uc5c5\uc744 \uc2dc\uc791\ud560 \ub54c<\/td>\n<td>Upstream \uc744 fetch \ud55c \ub4a4 \ucd5c\uc2e0 \uc0c1\ud0dc\uc5d0\uc11c branch \ub97c \ub9cc\ub4e0\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Pull request \uac00 \uc624\ub798 \uc5f4\ub824 \uc788\uc744 \ub54c<\/td>\n<td>\uc8fc\uae30\uc801\uc73c\ub85c upstream \uc744 \ubc18\uc601\ud574 \ucda9\ub3cc\uc744 \ubbf8\ub9ac \ud574\uc18c\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Pull request \uac00 merge \ub41c \ub4a4<\/td>\n<td>Fork \uc758 <code>main<\/code> \uc744 \ub3d9\uae30\ud654\ud558\uace0 \ub05d\ub09c branch \ub97c \uc815\ub9ac\ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.4. Cleanup after Merge<\/h3><a id=\"user-content-54-cleanup-after-merge\" class=\"anchor\" aria-label=\"Permalink: 5.4. Cleanup after Merge\" href=\"#54-cleanup-after-merge\"><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=\"git switch main\ngit branch -d fix\/typo-in-readme           # delete the merged local branch\ngit push origin --delete fix\/typo-in-readme   # delete it on the fork as well\ngit fetch --prune                          # clean up stale tracking refs\"><pre>git switch main\ngit branch -d fix\/typo-in-readme           <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> delete the merged local branch<\/span>\ngit push origin --delete fix\/typo-in-readme   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> delete it on the fork as well<\/span>\ngit fetch --prune                          <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> clean up stale tracking refs<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Maintainer Workflow<\/h2><a id=\"user-content-6-maintainer-workflow\" class=\"anchor\" aria-label=\"Permalink: 6. Maintainer Workflow\" href=\"#6-maintainer-workflow\"><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\">\uae30\uc5ec\ub97c \ubc1b\ub294 \ucabd\uc758 \uad00\uc810\uc774\ub2e4. Fork \uc5d0\uc11c \uc624\ub294 pull request \ub294 \uc2e0\ub8b0\ud560 \uc218 \uc5c6\ub294 code \ub85c \ub2e4\ub8e8\ub294 \uac83\uc774\n\uae30\ubcf8\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.1. Pull Request Review<\/h3><a id=\"user-content-61-pull-request-review\" class=\"anchor\" aria-label=\"Permalink: 6.1. Pull Request Review\" href=\"#61-pull-request-review\"><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\">Pull request \uc758 code \ub97c \ub85c\uceec\uc5d0\uc11c \uc2e4\ud589\ud574 \ubcf4\ub824\uba74, Contributor \uc758 fork \ub97c remote \ub85c \ucd94\uac00\ud560 \ud544\uc694 \uc5c6\uc774\npull request ref \ub97c \ubc14\ub85c \uac00\uc838\uc628\ub2e4. Maintainer \ub294 \uc6d0\ubcf8 repository \ub97c clone \ud558\ubbc0\ub85c, \uc544\ub798 <code>origin<\/code> \uc740\nTable 3 \uacfc \ub2ec\ub9ac fork \uac00 \uc544\ub2c8\ub77c \uadf8 \uc6d0\ubcf8\uc744 \uac00\ub9ac\ud0a8\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git fetch origin pull\/42\/head:pr-42        # fetch pull request 42 into a local branch\ngit switch pr-42                           # inspect and run tests locally\ngh pr checkout 42                          # the same thing with GitHub CLI\"><pre>git fetch origin pull\/42\/head:pr-42        <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> fetch pull request 42 into a local branch<\/span>\ngit switch pr-42                           <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> inspect and run tests locally<\/span>\ngh pr checkout 42                          <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> the same thing with GitHub CLI<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.2. Push to a Contributor Branch<\/h3><a id=\"user-content-62-push-to-a-contributor-branch\" class=\"anchor\" aria-label=\"Permalink: 6.2. Push to a Contributor Branch\" href=\"#62-push-to-a-contributor-branch\"><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\">Contributor \uac00 Allow edits by maintainers \ub97c \ucf1c \ub450\uc5c8\ub2e4\uba74, Maintainer \ub294 \uadf8 fork \uc758 pull request\nbranch \uc5d0 \uc9c1\uc811 push \ud560 \uc218 \uc788\ub2e4. \uc0ac\uc18c\ud55c \uc218\uc815\uc774\ub098 rebase \ub97c \ub300\uc2e0\ud574 \uc655\ubcf5\uc744 \uc904\uc774\ub294 \uc6a9\ub3c4\ub85c \uc4f4\ub2e4.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"gh pr checkout 42                          # checks out with the fork remote wired up\ngit push                                   # goes back to the Contributor's fork branch\"><pre>gh pr checkout 42                          <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> checks out with the fork remote wired up<\/span>\ngit push                                   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> goes back to the Contributor's fork branch<\/span><\/pre><\/div>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.3. Merge Strategy<\/h3><a id=\"user-content-63-merge-strategy\" class=\"anchor\" aria-label=\"Permalink: 6.3. Merge Strategy\" href=\"#63-merge-strategy\"><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 6. Merge strategies for a pull request from a fork.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Strategy<\/th>\n<th>Result<\/th>\n<th>Use when<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Merge commit<\/td>\n<td>Contributor \uc758 commit \uc774 \ubaa8\ub450 \ub0a8\uace0 merge commit \uc774 \ucd94\uac00\ub41c\ub2e4<\/td>\n<td>History \ub97c \uadf8\ub300\ub85c \ubcf4\uc874\ud558\ub824 \ud560 \ub54c \uc4f4\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Squash and merge<\/td>\n<td>\uc5ec\ub7ec commit \uc774 \ud558\ub098\ub85c \uc555\ucd95\ub41c\ub2e4<\/td>\n<td>Fork pull request \uc758 \uae30\ubcf8 \uc120\ud0dd\uc774\uba70 \uc791\uc5c5 \uc911 commit \uc774 \uc815\ub9ac\ub41c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Rebase and merge<\/td>\n<td>\uc120\ud615\uc73c\ub85c \uc774\uc5b4 \ubd99\ub294\ub2e4<\/td>\n<td>History \ub97c \uc120\ud615\uc73c\ub85c \uc720\uc9c0\ud558\ub294 repository \uc5d0\uc11c \uc4f4\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">6.4. CI Secret Boundary<\/h3><a id=\"user-content-64-ci-secret-boundary\" class=\"anchor\" aria-label=\"Permalink: 6.4. CI Secret Boundary\" href=\"#64-ci-secret-boundary\"><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\">Fork pull request \ub294 \uc678\ubd80\uc778\uc774 \ubcf4\ub0b8 code \ub2e4. GitHub Actions \ub294 \uc774\ub97c \uc804\uc81c\ub85c \ub3d9\uc791\uc744 \uc81c\ud55c\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">Table 7. Workflow trigger behavior on a pull request from a fork.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Trigger<\/th>\n<th>Secret access<\/th>\n<th>Token permission<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>pull_request<\/code><\/td>\n<td>\ub178\ucd9c\ub418\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<td>\uc77d\uae30 \uc804\uc6a9\uc774\ub2e4<\/td>\n<td>\uae30\ubcf8\uc774\uc790 \uc548\uc804\ud55c \uc120\ud0dd\uc774\ub2e4<\/td>\n<\/tr>\n<tr>\n<td><code>pull_request_target<\/code><\/td>\n<td>\ub178\ucd9c\ub41c\ub2e4<\/td>\n<td>\uc4f0\uae30\uac00 \uac00\ub2a5\ud558\ub2e4<\/td>\n<td>Base repository \ubb38\ub9e5\uc5d0\uc11c \uc2e4\ud589\ub418\ubbc0\ub85c \uc704\ud5d8\ud558\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\"><code>pull_request<\/code> \ub85c \ub3c4\ub294 CI \ub294 fork pull request \uc5d0\uc11c secret \uc744 \ubc1b\uc9c0 \ubabb\ud558\ubbc0\ub85c, secret \uc774 \ud544\uc694\ud55c job \uc740\nfork pull request \uc5d0\uc11c \uc2e4\ud328\ud558\uac70\ub098 \uac74\ub108\ub6f0\ub3c4\ub85d \uc124\uacc4\ud55c\ub2e4. <code>pull_request_target<\/code> \uc740 pull request \uc758\ncode \ub97c checkout \ud574\uc11c \uc2e4\ud589\ud558\uba74 \uc548 \ub41c\ub2e4. \uc678\ubd80\uc778\uc774 \ubcf4\ub0b8 script \uac00 secret \uc744 \uc954 \ucc44 \uc2e4\ud589\ub418\uc5b4 \uc720\ucd9c\ub420 \uc218\n\uc788\uc73c\uba70, label \ubd80\ucc29\ucc98\ub7fc code \uc2e4\ud589\uc774 \uc5c6\ub294 \uc791\uc5c5\uc5d0\ub9cc \uc4f4\ub2e4. Repository \uc124\uc815\uc5d0\uc11c \uccab Contributor \uc758\nworkflow \uc2e4\ud589\uc5d0 Maintainer \uc2b9\uc778\uc744 \uc694\uad6c\ud558\ub3c4\ub85d \uc9c0\uc815\ud560 \uc218\ub3c4 \uc788\ub2e4.<\/p>\n<p dir=\"auto\">\uac19\uc740 \uc870\uc9c1\uc758 repository \ub77c\uba74 fork \ub300\uc2e0 branch \ub97c \uc4f0\ub294 \ud3b8\uc774 CI \uc124\uacc4\uac00 \ud6e8\uc52c \ub2e8\uc21c\ud574\uc9c4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Fork Mechanics<\/h2><a id=\"user-content-7-fork-mechanics\" class=\"anchor\" aria-label=\"Permalink: 7. Fork Mechanics\" href=\"#7-fork-mechanics\"><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\">Collaboration \uc911\uc5d0 \uc2e4\uc81c\ub85c \ubb38\uc81c\uac00 \ub418\ub294 fork \uc758 \uc131\uc9c8\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 8. Fork mechanics and constraints.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Behavior<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Fork network<\/td>\n<td>Fork \ub4e4\uc740 upstream \uacfc \ud558\ub098\uc758 network \ub85c \ubb36\uc5ec commit object \ub97c \uacf5\uc720\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Private repository<\/td>\n<td>Private repository \uc758 fork \ub294 private \ub85c \uc720\uc9c0\ub418\uba70, \uc6d0\ubcf8 \uc811\uadfc \uad8c\ud55c\uc744 \uc783\uc73c\uba74 fork \uc811\uadfc\ub3c4 \uc783\ub294\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Visibility<\/td>\n<td>Public \uc6d0\ubcf8\uc758 fork \ub97c private \ub85c \ubc14\uafc0 \uc218 \uc5c6\uc73c\uba70, \uadf8\uac83\uc774 \ud544\uc694\ud558\uba74 \ubcc4\ub3c4\uc758 \ubcf5\uc81c repository \ub97c \ub9cc\ub4e0\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Issue and pull request<\/td>\n<td>Fork \uc5d0\ub294 issue, pull request, \uc124\uc815\uc774 \ub530\ub77c\uc624\uc9c0 \uc54a\uace0 code \uc640 history \ub9cc \ubcf5\uc0ac\ub41c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Deleted upstream<\/td>\n<td>Upstream \uc774 \uc0ad\uc81c\ub418\uc5b4\ub3c4 fork \ub294 \ub0a8\uc9c0\ub9cc pull request \uc774\ub825\uacfc \ube44\uad50 \uae30\uc900\uc744 \uc783\ub294\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Fork of a fork<\/td>\n<td>\uac00\ub2a5\ud558\uc9c0\ub9cc upstream \uc774 \ubaa8\ud638\ud574\uc9c0\ubbc0\ub85c \ud56d\uc0c1 \ucd5c\uc0c1\uc704 \uc6d0\ubcf8\uc744 <code>upstream<\/code> \uc73c\ub85c \ub454\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>One fork per account<\/td>\n<td>\ud55c \uacc4\uc815\uc5d0 \uac19\uc740 repository \uc758 fork \ub294 \ud558\ub098\uc774\uba70, \uc791\uc5c5 \ubd84\ub9ac\ub294 fork \uac00 \uc544\ub2c8\ub77c branch \ub85c \ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Deleted object<\/td>\n<td>Fork network \uc5d0 \ud55c \ubc88 push \ub41c commit \uc740 fork \ub97c \uc9c0\uc6cc\ub3c4 \ub0a8\uc744 \uc218 \uc788\uc73c\ubbc0\ub85c, secret \uc744 commit \ud588\ub2e4\uba74 \uc0ad\uc81c\ub85c \ub05d\ub0b4\uc9c0 \ub9d0\uace0 \uc989\uc2dc \ud3d0\uae30\ud558\uace0 \uad50\uccb4\ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">\ub204\uac00 fork \ub97c \ub9cc\ub4e4 \uc218 \uc788\ub294\uc9c0\ub294 \uc6d0\ubcf8\uc758 \uacf5\uac1c \ubc94\uc704\uc640 \uc124\uc815\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9c4\ub2e4. \uc870\uac74\uc740\n<a href=\"#appendix-b-fork-permission-conditions\">Appendix B. Fork Permission Conditions<\/a> \uc5d0 \uc815\ub9ac\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">8. Fork as a Divergence Point<\/h2><a id=\"user-content-8-fork-as-a-divergence-point\" class=\"anchor\" aria-label=\"Permalink: 8. Fork as a Divergence Point\" href=\"#8-fork-as-a-divergence-point\"><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\">Fork \ub97c \uc6d0\ubcf8\uc5d0 \uae30\uc5ec\ud558\uae30 \uc704\ud574\uc11c\uac00 \uc544\ub2c8\ub77c, \uc6d0\ubcf8\uc5d0\uc11c \uac08\ub77c\uc838 \ub098\uc640 \ub3c5\uc790\uc801\uc73c\ub85c \ubc1c\uc804\uc2dc\ud0a4\uae30 \uc704\ud574 \uc4f0\uae30\ub3c4\n\ud55c\ub2e4. \uc774 \uacbd\uc6b0\ub294 collaboration \uc774 \uc544\ub2c8\ub77c divergence \uc774\ubbc0\ub85c \ud310\ub2e8 \uae30\uc900\uc774 \ub2e4\ub974\ub2e4.<\/p>\n<p dir=\"auto\">Table 9. Choice by intent.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Intent<\/th>\n<th>Recommended approach<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\uc6d0\ubcf8\uc5d0 \uae30\uc5ec\ud560 \uacc4\ud68d\uc774 \uc788\ub2e4<\/td>\n<td>Fork \ub97c \uc720\uc9c0\ud558\uba70 pull request \uacbd\ub85c\uc640 upstream \ucd94\uc801\uc744 \uc0b4\ub9b0\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>\uc6d0\ubcf8\uacfc \ubb34\uad00\ud558\uac8c \ubc1c\uc804\uc2dc\ud0a8\ub2e4<\/td>\n<td>Fork \ub300\uc2e0 \ub3c5\ub9bd repository \ub97c \ub9cc\ub4e0\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>\uc6d0\ubcf8 code \ub97c \uc790\uae30 repository \uc758 \uc77c\ubd80\ub85c \ud488\ub294\ub2e4<\/td>\n<td>Fork \uac00 \uc544\ub2c8\ub77c subtree \ub098 vendoring \uc744 \uc4f4\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone --bare https:\/\/github.com\/&lt;OWNER&gt;\/project.git   # start an independent repo\ncd project.git\ngit push --mirror https:\/\/github.com\/&lt;CONTRIBUTOR&gt;\/my-own-project.git\"><pre>git clone --bare https:\/\/github.com\/<span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project.git   <span class=\"pl-c\"><span class=\"pl-c\">#<\/span> start an independent repo<\/span>\n<span class=\"pl-c1\">cd<\/span> project.git\ngit push --mirror https:\/\/github.com\/<span class=\"pl-k\">&lt;<\/span>CONTRIBUTOR<span class=\"pl-k\">&gt;<\/span>\/my-own-project.git<\/pre><\/div>\n<p dir=\"auto\">\ub3c5\ub9bd repository \ub294 fork badge \uc640 pull request \uacbd\ub85c\uac00 \uc5c6\uc5b4 \uae54\ub054\ud558\uc9c0\ub9cc, upstream \uc758 \uc218\uc815\uc744\n\ubc1b\uc544\uc624\ub824\uba74 remote \ub97c \uc9c1\uc811 \ucd94\uac00\ud574 merge \ud574\uc57c \ud55c\ub2e4. \uc6d0\ubcf8\uc744 \uacc4\uc18d \ub530\ub77c\uac08 \uc0dd\uac01\uc774\ub77c\uba74 fork \uac00 \ub0ab\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">9. Pitfalls<\/h2><a id=\"user-content-9-pitfalls\" class=\"anchor\" aria-label=\"Permalink: 9. Pitfalls\" href=\"#9-pitfalls\"><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 10. Common pitfalls and remedies.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Symptom<\/th>\n<th>Cause<\/th>\n<th>Remedy<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Push \uac00 permission denied \ub85c \uac70\uc808\ub41c\ub2e4<\/td>\n<td>\uc6d0\ubcf8\uc744 clone \ud558\uace0 push \ub97c \uc2dc\ub3c4\ud588\ub2e4<\/td>\n<td>Fork \ub97c \ub9cc\ub4e4\uace0 <code>git remote set-url origin &lt;FORK_URL&gt;<\/code> \ub85c origin \uc744 \uc790\uae30 fork \ub85c \ubc14\uafbc\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Pull request \uc5d0 \ub2e4\ub978 Contributor \uc758 commit \uc774 \ub300\ub7c9\uc73c\ub85c \uc11e\uc778\ub2e4<\/td>\n<td>\uc624\ub798\ub41c fork \uc5d0\uc11c branch \ub97c \ub9cc\ub4e4\uc5c8\ub2e4<\/td>\n<td><code>git rebase upstream\/main<\/code> \uc744 \uc2e4\ud589\ud55c \ub4a4 <code>--force-with-lease<\/code> \ub85c push \ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Pull request \uc758 base \uac00 Contributor \uc758 fork \ub85c \uc7a1\ud78c\ub2e4<\/td>\n<td>Pull request \ub97c \ub9cc\ub4e4 \ub54c base repository \ub97c \ud655\uc778\ud558\uc9c0 \uc54a\uc558\ub2e4<\/td>\n<td>Pull request \ub97c \ub2eb\uace0 base \ub97c upstream \uc73c\ub85c \uc9c0\uc815\ud574 \ub2e4\uc2dc \uc5f0\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Review \ubc18\uc601\uc774 pull request \uc5d0 \ubcf4\uc774\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<td>\ub2e4\ub978 branch \uc5d0 commit \ud588\ub2e4<\/td>\n<td>Pull request \uc758 head branch \uc5d0 commit \ud558\uace0 push \ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Fork \uc758 <code>main<\/code> \uc774 upstream \uacfc \ucda9\ub3cc\ud55c\ub2e4<\/td>\n<td>Fork \uc758 <code>main<\/code> \uc5d0\uc11c \uc9c1\uc811 \uc791\uc5c5\ud588\ub2e4<\/td>\n<td>\uc791\uc5c5\uc744 \ubcc4\ub3c4 branch \ub85c \uc62e\uae34 \ub4a4 <code>git reset --hard upstream\/main<\/code> \uc73c\ub85c \uae30\uc900\uc120\uc744 \ubcf5\uad6c\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Fork \uc758 CI \uac00 secret \uc774 \uc5c6\ub2e4\uba70 \uc2e4\ud328\ud55c\ub2e4<\/td>\n<td><code>pull_request<\/code> \ub294 fork \uc5d0 secret \uc744 \uc8fc\uc9c0 \uc54a\ub294\ub2e4<\/td>\n<td>Secret \uc774 \ud544\uc694\ud55c job \uc744 fork pull request \uc5d0\uc11c \uac74\ub108\ub6f0\ub3c4\ub85d \uc870\uac74\uc744 \ucd94\uac00\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Force push \ub85c Maintainer \ub098 \ub2e4\ub978 Contributor \uc758 \uc218\uc815\uc774 \uc0ac\ub77c\uc9c4\ub2e4<\/td>\n<td><code>--force<\/code> \ub97c \uc0ac\uc6a9\ud588\ub2e4<\/td>\n<td>\ud56d\uc0c1 <code>--force-with-lease<\/code> \ub97c \uc0ac\uc6a9\ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">10. Command Summary<\/h2><a id=\"user-content-10-command-summary\" class=\"anchor\" aria-label=\"Permalink: 10. Command Summary\" href=\"#10-command-summary\"><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=\"# setup, performed once\ngh repo fork &lt;OWNER&gt;\/project --clone --remote\ngit remote add upstream https:\/\/github.com\/&lt;OWNER&gt;\/project.git\ngit remote -v\n\n# start a change\ngit fetch upstream\ngit switch -c topic\/xyz upstream\/main\n\n# publish and propose\ngit push -u origin topic\/xyz\ngh pr create --repo &lt;OWNER&gt;\/project --base main --head &lt;CONTRIBUTOR&gt;:topic\/xyz\n\n# keep the fork in sync\ngit fetch upstream\ngit switch main\ngit merge upstream\/main\ngit push origin main\ngit switch topic\/xyz\ngit rebase upstream\/main\ngit push --force-with-lease\n\n# maintainer side\ngh pr checkout 42\ngit fetch origin pull\/42\/head:pr-42\n\n# cleanup after merge\ngit switch main\ngit branch -d topic\/xyz\ngit push origin --delete topic\/xyz\ngit fetch --prune\"><pre><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> setup, performed once<\/span>\ngh repo fork <span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project --clone --remote\ngit remote add upstream https:\/\/github.com\/<span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project.git\ngit remote -v\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> start a change<\/span>\ngit fetch upstream\ngit switch -c topic\/xyz upstream\/main\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> publish and propose<\/span>\ngit push -u origin topic\/xyz\ngh pr create --repo <span class=\"pl-k\">&lt;<\/span>OWNER<span class=\"pl-k\">&gt;<\/span>\/project --base main --head <span class=\"pl-k\">&lt;<\/span>CONTRIBUTOR<span class=\"pl-k\">&gt;<\/span>:topic\/xyz\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> keep the fork in sync<\/span>\ngit fetch upstream\ngit switch main\ngit merge upstream\/main\ngit push origin main\ngit switch topic\/xyz\ngit rebase upstream\/main\ngit push --force-with-lease\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> maintainer side<\/span>\ngh pr checkout 42\ngit fetch origin pull\/42\/head:pr-42\n\n<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> cleanup after merge<\/span>\ngit switch main\ngit branch -d topic\/xyz\ngit push origin --delete topic\/xyz\ngit fetch --prune<\/pre><\/div>\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>CI (Continuous Integration)<\/strong>: Push \ub098 pull request \uc5d0 \ubc18\uc751\ud574 build \uc640 test \ub97c \uc790\ub3d9\uc73c\ub85c \uc2e4\ud589\ud558\ub294 \uad6c\uc870\ub2e4.<\/li>\n<li><strong>Contributor<\/strong>: \ubcc0\uacbd\uc744 \ub9cc\ub4e4\uc5b4 pull request \ub85c \ud569\uccd0 \ub2ec\ub77c\uace0 \uc694\uccad\ud558\ub294 \uc758\ub8b0\uc790\ub2e4. \uc6d0\ubcf8 repository \uc5d0 \uc4f0\uae30 \uad8c\ud55c\uc774 \uc5c6\uace0 \uc790\uae30 fork \uc5d0\ub9cc push \ud55c\ub2e4.<\/li>\n<li><strong>Fork network<\/strong>: \uac19\uc740 \uc6d0\ubcf8\uc5d0\uc11c \uac08\ub77c\uc838 \ub098\uc628 fork \ub4e4\uc758 \ubb36\uc74c\uc774\uba70 commit object \ub97c \uacf5\uc720\ud55c\ub2e4.<\/li>\n<li><strong>Maintainer<\/strong>: \uc6d0\ubcf8 repository \uc5d0 \ub300\ud55c \uc4f0\uae30 \uad8c\ud55c\uc744 \uac00\uc9c0\uace0 pull request \ub97c \uac80\ud1a0\ud558\uace0 merge \ud558\ub294 \uc0ac\ub78c\uc774\ub2e4.<\/li>\n<li><strong>Merge<\/strong>: \ub450 branch \uc758 history \ub97c \ud569\uce58\ub294 \ub3d9\uc791\uc774\uba70, pull request \ub97c \uc6d0\ubcf8\uc5d0 \ubc18\uc601\ud558\ub294 \ubc29\ubc95\uc774\uae30\ub3c4 \ud558\ub2e4.<\/li>\n<li><strong>Origin<\/strong>: Clone \ud55c repository \ub97c \uac00\ub9ac\ud0a4\ub294 \uae30\ubcf8 remote \uc774\ub984\uc774\uba70, fork collaboration \uc5d0\uc11c\ub294 Contributor \uc758 fork \ub97c \uac00\ub9ac\ud0a8\ub2e4.<\/li>\n<li><strong>Pull request<\/strong>: \uc790\uae30 branch \ub97c \ub2e4\ub978 branch \ub098 repository \uc5d0 \ud569\uccd0 \ub2ec\ub77c\uace0 \uc694\uccad\ud558\ub294 \ub2e8\uc704\uc774\uba70 review \uc758 \ub2e8\uc704\uc774\uae30\ub3c4 \ud558\ub2e4.<\/li>\n<li><strong>Rebase<\/strong>: \ud604\uc7ac branch \uc758 commit \uc744 \ub2e4\ub978 branch \uc758 \ub05d\uc73c\ub85c \uc62e\uaca8 \ubd99\uc5ec history \ub97c \ud55c \uc904\ub85c \ud3b4\ub294 \ub3d9\uc791\uc774\ub2e4.<\/li>\n<li><strong>Secret<\/strong>: Repository \uc5d0 \uc800\uc7a5\ud558\ub294 \uc554\ud638\ud654\ub41c \uac12\uc774\uba70 workflow \uc548\uc5d0\uc11c\ub9cc \ucc38\uc870\ub418\uace0 log \uc5d0 \ub178\ucd9c\ub418\uc9c0 \uc54a\ub294\ub2e4.<\/li>\n<li><strong>Squash merge<\/strong>: Pull request \uc758 \uc5ec\ub7ec commit \uc744 \ud558\ub098\ub85c \uc555\ucd95\ud574 \ud569\uce58\ub294 \ubc29\uc2dd\uc774\ub2e4.<\/li>\n<li><strong>Stale fork<\/strong>: Upstream \uacfc \uc624\ub798 \ubc8c\uc5b4\uc9c4 fork \uc774\uba70 \ucda9\ub3cc\uacfc \uc798\ubabb\ub41c pull request \uc758 \uc8fc\ub41c \uc6d0\uc778\uc774\ub2e4.<\/li>\n<li><strong>Topic branch<\/strong>: \ud558\ub098\uc758 \ubcc0\uacbd \uc8fc\uc81c\ub97c \ub2f4\ub294 branch \uc774\uba70 pull request \ud558\ub098\uc5d0 \ub300\uc751\ud55c\ub2e4.<\/li>\n<li><strong>Upstream<\/strong>: Fork \uc758 \ucd9c\ucc98\uac00 \ub418\ub294 \uc6d0\ubcf8 repository \uc774\uba70 pull request \uc758 \ubaa9\uc801\uc9c0\ub2e4. Remote \uc774\ub984\uc73c\ub85c\ub3c4 \uac19\uc740 \ub0b1\ub9d0\uc744 \uc4f4\ub2e4.<\/li>\n<li><strong>Workflow<\/strong>: CI \uac00 \uc2e4\ud589\ud558\ub294 \uc790\ub3d9\ud654 \uc791\uc5c5 \ubb36\uc74c\uc774\uba70, trigger \uc640 \uc2e4\ud589 \ub2e8\uacc4\ub85c \uc774\ub8e8\uc5b4\uc9c4\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix B. Fork Permission Conditions<\/h2><a id=\"user-content-appendix-b-fork-permission-conditions\" class=\"anchor\" aria-label=\"Permalink: Appendix B. Fork Permission Conditions\" href=\"#appendix-b-fork-permission-conditions\"><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\">Fork \ub294 \uc694\uccad\uacfc \uc2b9\uc778\uc744 \uc8fc\uace0\ubc1b\ub294 \uc808\ucc28\uac00 \uc544\ub2c8\ub2e4. Maintainer \uac00 \uac1c\ubcc4 fork \ub97c \uc2b9\uc778\ud558\ub294 \ud654\uba74\uc740 \uc5c6\uc73c\uba70,\nMaintainer \uac00 \uc815\ud558\ub294 \uac83\uc740 fork \ub97c \ud5c8\uc6a9\ud560\uc9c0 \ub9d0\uc9c0\ub77c\ub294 \uc2a4\uc704\uce58 \ud558\ub098\ub2e4. \ub530\ub77c\uc11c fork \uac00 \ub9cc\ub4e4\uc5b4\uc84c\ub2e4\ub294\n\uc0ac\uc2e4 \uc790\uccb4\ub294 \uc5b4\ub5a4 \uad8c\ud55c\ub3c4 \ub73b\ud558\uc9c0 \uc54a\uc73c\uba70, Maintainer \uc758 \uc2e4\uc9c8\uc801\uc778 \ud1b5\uc81c\ub294 pull request \ub97c merge \ud558\ub294\n\ub2e8\uacc4\uc5d0\uc11c \uc774\ub8e8\uc5b4\uc9c4\ub2e4.<\/p>\n<p dir=\"auto\">Table 11. Who can create a fork, by repository visibility.<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Original repository<\/th>\n<th>Who can fork<\/th>\n<th>Maintainer's control<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Public repository<\/td>\n<td>\ub85c\uadf8\uc778\ud55c \uc0ac\uc6a9\uc790\uba74 \ub204\uad6c\ub098 \ud560 \uc218 \uc788\ub2e4<\/td>\n<td>Fork \uc790\uccb4\ub294 \ub9c9\uc744 \uc218 \uc5c6\uace0 merge \ub2e8\uacc4\uc5d0\uc11c \ud1b5\uc81c\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>Organization \uc18c\uc720 private repository<\/td>\n<td>\uc77d\uae30 \uad8c\ud55c\uc744 \uac00\uc9c4 Contributor \ub9cc \ud560 \uc218 \uc788\uc73c\uba70 forking \ud5c8\uc6a9 \uc124\uc815\uc774 \ucf1c\uc838 \uc788\uc5b4\uc57c \ud55c\ub2e4<\/td>\n<td>\ucd08\ub300 \uc5ec\ubd80\uc640 forking \uc124\uc815 \ub450 \uac00\uc9c0\ub85c \ud1b5\uc81c\ud55c\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>\uac1c\uc778 \uacc4\uc815 \uc18c\uc720 private repository<\/td>\n<td>\uc77d\uae30 \uad8c\ud55c\uc744 \ubd80\uc5ec\ubc1b\uc740 Contributor \ub9cc \ud560 \uc218 \uc788\ub2e4<\/td>\n<td>\ucd08\ub300 \uc5ec\ubd80\ub85c \ud1b5\uc81c\ud55c\ub2e4<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">Public repository \uc5d0\uc11c forking \uc744 \ub04c \uc218 \uc5c6\ub294 \uc774\uc720\ub294 \uacf5\uac1c \uc790\uccb4\uac00 \uc5f4\ub78c\uacfc fork \ub97c \ud5c8\uc6a9\ud55c\ub2e4\ub294 \uc804\uc81c\n\uc704\uc5d0 \uc11c \uc788\uae30 \ub54c\ubb38\uc774\ub2e4. \uadf8\ub798\uc11c public repository \uc758 Maintainer \ub294 fork \ub2e8\uacc4\uc5d0\uc11c \uc544\ubb34\uac83\ub3c4 \ub9c9\uc9c0\n\ubabb\ud558\uace0, \uc6d0\ubcf8\uc774 \ubc14\ub00c\ub294 \uc9c0\uc810\uc778 merge \uc5d0\uc11c\ub9cc \ud1b5\uc81c\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">Private repository \uc5d0\uc11c\ub294 \uc870\uac74\uc774 \ub450 \uacb9\uc774\ub2e4. \uccab\uc9f8, Contributor \ub97c \ucd08\ub300\ud574 \uc77d\uae30 \uad8c\ud55c\uc744 \uc8fc\uc5b4\uc57c \ud55c\ub2e4.\n\ucd08\ub300\ub418\uc9c0 \uc54a\uc73c\uba74 repository \uc758 \uc874\uc7ac\uc870\ucc28 \ubcf4\uc774\uc9c0 \uc54a\uc73c\ubbc0\ub85c fork \ub300\uc0c1\uc774 \ub418\uc9c0 \uc54a\uc73c\uba70, \uc774 \ucd08\ub300\uac00 \uc0ac\uc2e4\uc0c1\n\uc2b9\uc778 \ud589\uc704\ub2e4. \ub458\uc9f8, organization \uc18c\uc720\ub77c\uba74 \uc870\uc9c1 \uc815\ucc45\uacfc repository \uc124\uc815\uc5d0\uc11c private repository \uc758\nforking \uc744 \ud5c8\uc6a9\ud574\uc57c \ud55c\ub2e4. \uc774 \uc124\uc815\uc740 \uae30\ubcf8\uc774 \uaebc\uc9d0\uc774\ubbc0\ub85c, \uc77d\uae30 \uad8c\ud55c\uc774 \uc788\uc5b4\ub3c4 \uc124\uc815\uc774 \uaebc\uc838 \uc788\uc73c\uba74\nfork \uac00 \ub9cc\ub4e4\uc5b4\uc9c0\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<p dir=\"auto\">Private repository \uc758 fork \uc5d0\ub294 \ucd94\uac00 \uc81c\uc57d\uc774 \ub530\ub978\ub2e4. Fork \ub294 private \ub85c \ub9cc\ub4e4\uc5b4\uc9c0\uace0 \uac19\uc740 fork\nnetwork \uc548\uc5d0 \uba38\ubb34\ub974\uba70 public \uc73c\ub85c \ubc14\uafc0 \uc218 \uc5c6\ub2e4. \uc6d0\ubcf8\uc5d0 \ub300\ud55c \uc811\uadfc \uad8c\ud55c\uc774 \ud68c\uc218\ub418\uba74 \uadf8 \uc0ac\ub78c\uc758 fork\n\ub3c4 \ud568\uaed8 \uc81c\uac70\ub418\uc5b4, private code \uac00 fork \ud615\ud0dc\ub85c \ub0a8\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<p dir=\"auto\">Private repository \uc5d0\uc11c\ub294 \uc774\ubbf8 \uc77d\uae30 \uad8c\ud55c\uc744 \uc900 \uc0c1\ub300\uc774\ubbc0\ub85c, forking \uc744 \ud5c8\uc6a9\ud558\uae30\ubcf4\ub2e4 \uc4f0\uae30 \uad8c\ud55c\uc744 \uc8fc\uace0\n3.1 \uc758 shared repository model \ub85c \uac00\ub294 \ud3b8\uc774 \ub0ab\ub2e4.<\/p>\n<p dir=\"auto\">Self-hosted git service \ub294 \uc815\ucc45\uc774 \ub2e4\ub97c \uc218 \uc788\ub2e4. \uad00\ub9ac\uc790\uac00 forking \uc744 \uc778\uc2a4\ud134\uc2a4 \ub2e8\uc704\ub85c \ub9c9\uc744 \uc218 \uc788\uc5b4\npublic repository \ub77c\ub3c4 fork \ubc84\ud2bc\uc774 \ubcf4\uc774\uc9c0 \uc54a\uc744 \uc218 \uc788\uc73c\ubbc0\ub85c, \ud574\ub2f9 \uc778\uc2a4\ud134\uc2a4\uc758 \uc124\uc815\uc744 \ud655\uc778\ud55c\ub2e4.<\/p>\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>Fork is a GitHub feature, not a git one, and it exists so a contributor without write access can still contribute. The asymmetry is the point: a contributor pushes only to their own fork and asks by pull request, while only the maintainer merges. Sections cover both workflows, synchronization and the CI secret boundary.<\/p>\n","protected":false},"author":4,"featured_media":7197,"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":1,"footnotes":""},"categories":[378,10],"tags":[386],"class_list":["post-7196","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\/yellow-lemons-produce-bin.jpg","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7196","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=7196"}],"version-history":[{"count":1,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7196\/revisions"}],"predecessor-version":[{"id":7198,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7196\/revisions\/7198"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/7197"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=7196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=7196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=7196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}