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
select project to delete->settings->buttom click delete button->enter name of the repositories
No, it will not affect your original repository, just make sure that the repo address looks like "youGitName/TheRepository" and not like "OtherPersonGitName/TheRepo".
Just delete the forked repo from your GitHub account.
https://help.github.com/articles/deleting-a-repository/
It wont make any changes in the original one; cos, its your repo now.
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.
By far the easiest way is to log in gitHub account:
yourUsername/yourRepository
for example mbaric/zpropertyz
.gitHubUsername/nameOfTheRepository
and click on the button below which says: I understand the consequences, delete the repository2020-01-15 - Here are images. Enjoy.
Deleting your forked repository will not affect the master(original) repository.
Like I have shown an example by deleting a forked repo
This is my forked repo (Image)
Deleting the forked repo
And no changes to the original repository.
The master repo is something like an original one.
Forking is same as creating a xerox copy of the original one. Even if you get your xeroxed paper damaged, will it be that the original document also gets damaged. Obviously No.
So its the same as that.
Hope this helps.