•  


Detaching a fork - GitHub Docs
Skip to main content

Detaching a fork

You can delete a fork and recreate the same repository, without the connection to the original network.

Who can use this feature?

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

Platform navigation

About detaching forks

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. This is useful when you want to take the work you are doing in a different direction or maintain distinct versions.

The new repository will no longer automatically sync with changes from the original repository.

Notes:

  • The new repository will not retain any of its issues, pull requests, wikis, stars, watchers, comments, child forks, or other metadata that may currently be associated with your current fork.
  • All commit metadata will be preserved. Commits may become eligible to be counted as contributions, if they meet certain criteria. For more information, see " Why are my contributions not showing up on my profile? ."

Detaching a fork

You can delete a fork and recreate the same repository, without the connection to the original network.

  1. Open Terminal Terminal Git Bash .

  2. Create a bare clone of the fork.

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

    Warning : 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.

    cd FORK-NAME.git
    git push --mirror https://github.com/EXAMPLE-USER/FORK-NAME.git
    
  6. Remove temporary local clone you created earlier.

    cd ..
    rm -rf FORK-NAME.git
    

For more information, see our support page on forks.

- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본