Delete forked repo from GitHub

后端 未结 12 2112
灰色年华
灰色年华 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 04:56

    There will not be any harm deleting the forked repositories. You can again fork that. It won't change the original code. The flow is like this...

    1) You fork a repository. Just think of this as another copy of code which you can access or make changes to. The url of this repository will be of the form https://github.com/your-user-name/original-repo.

    2) You make some changes to that in your local machine and push them. Now the copy you created will be updated, but not the original one from which you have forked your repo.

    3) If you want the changes you added to your forked repo to be applied to original repo(this may be helpful to the people who are organizing the repo) then you have to create a pull request which you can do through UI. Then if they like your contribution, they will merge that with their code.

    Generally this is what open source organizations do.

提交回复
热议问题