Delete forked repo from GitHub

后端 未结 12 2110
灰色年华
灰色年华 2020-12-04 04:26

I\'m starting with git and GitHub and there\'s a project I\'m watching on GitHub. I unintentionally clicked to fork it. Now it appears as a new project to me.

I have

12条回答
  •  臣服心动
    2020-12-04 05:13

    Answer is NO. It won't affect the original/main repository where you forked from. (Functionally, it will be incorrect if such an access is provided to a non-owner).

    Just wanted to add this though.

    Warning: It will delete the local commits and branches you created on your forked repo. So, before deleting make sure there is a backup of that code with you if it is important.

    Best way would be getting a git backup of forked repo using:

    git bundle 
    

    or other methods that are familiar.

提交回复
热议问题