Back

Explore Courses Blog Tutorials Interview Questions
+4 votes
2 views
in DevOps and Agile by (29.3k points)
edited by

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 for me.

I have some doubts about it:

I know if commit or do another thing to my forked repo, it will be updated, but the updated code will take effect only after the project's author request the pull. Right?

If I go to the admin panel on GitHub there's a delete option. If I delete it as the option above, will it make any effect on the original one or not?

I'd like to delete it. By now I'm just studying the code and don't really need the fork.

1 Answer

+4 votes
by (50.2k points)
edited by

If you are working on your project then you can delete the fork there will be no issues. Instead of editing, it will only edit your fork on the repo page.

If you are working on someone else’s project and forking it and then deleting the fork. This would lead to a security bug. So delete the forked repo with care.

For more information about installation of git and common git commands please go through the following link:

by (29.3k points)
if the project is deleted. then what about my fork?
by (19.4k points)
your fork will work but it cannot connect to the upstream.

Browse Categories

...