Skip to main content

이 버전의 GitHub Enterprise Server는 다음 날짜에 중단됩니다. 2026-03-17. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. 더 뛰어난 성능, 향상된 보안, 새로운 기능을 위해 최신 버전의 GitHub Enterprise Server로 업그레이드합니다. 업그레이드에 대한 도움말은 GitHub Enterprise 지원에 문의하세요.

포크 분리하기

리포지토리를 포크 네트워크에서 분리하려면 네트워크에서 나가거나 포크를 수동으로 삭제한 후 원본에 연결하지 않고 다시 생성하면 됩니다.

누가 이 기능을 사용할 수 있나요?

People with admin access for a forked repository can delete the forked repository.

Platform navigation

Manually Leaving the fork network

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.

  1. Open TerminalTerminalGit Bash.

  2. Create a bare clone of the fork.

    git clone --bare https://HOSTNAME/EXAMPLE-USER/FORK.git
    
  3. Delete the forked repository. For more information, see Deleting a repository.

    경고

    Deleting a fork will permanently delete any associated pull requests and configurations. This action cannot be undone.

  4. Create a new repository with the same name in the same location. For more information, see Creating a new repository.

  5. Mirror-push the repository back to the same remote URL.

    git --git-dir FORK.git push --mirror https://HOSTNAME/EXAMPLE-USER/FORK.git
    
  6. Remove temporary local clone you created earlier.

    rm -rf FORK.git
    

For more information, see our support page on forks.