Skip to content

Commit 6720e5e

Browse files
Copilotcrwaters16am-steadCopilot
authored
docs: expose self-service fork detachment for fpt/ghec users (#60628)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: crwaters16 <78226508+crwaters16@users.noreply.github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent a90b4a4 commit 6720e5e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

content/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ category:
1010
- Work with forks
1111
---
1212

13-
{% ifversion ghes > 3.16 %}
13+
{% ifversion fpt or ghec or ghes > 3.16 %}
1414

1515
## Converting a fork into a standalone repository
1616

@@ -21,9 +21,13 @@ To turn your fork into a standalone repository, you can leave the fork network e
2121
> * All git commit metadata will be preserved. Commits may become eligible to be counted as contributions if they meet certain criteria. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account).
2222
> * Leaving the fork network is **permanent** and the new repository **cannot** be reconnected to the fork network.
2323
24+
{% ifversion ghes %}
25+
2426
> [!NOTE]
2527
> If you are unable to detach a fork, contact your site administrator.
2628
29+
{% endif %}
30+
2731
## Leaving the fork network
2832

2933
You can only detach forks with the leave network option when:
@@ -42,7 +46,7 @@ While the fork is being detached, some operations will be briefly unavailable un
4246

4347
{% endif %}
4448

45-
## Manually Leaving the fork network
49+
## Manually leaving the fork network
4650

4751
To turn your fork into a standalone repository, you can clone the fork, use the clone to create a new repository, and then delete the fork removing the connection to the original network.
4852

0 commit comments

Comments
 (0)