I did contribute to a github project.
I dont' want anyone to fork from my version on github, but I prefer them to feed themselves from the original project. So I want to delete my "master branch" which represent a "Delete repository" operation....
My question is: If I delete it, and one day I would like to contribute again to the same project, will I get some strange behaviors on a "re-fork" ? Will I loose some information like issues etc... ?
Does anyone with extensive experience on github can hint me ont that ?
As mentioned here, as long as your PR (Pull Requests) are accepted, you can delete your fork. Or you can delete it even if your PR is pending... but it would then disappear along with your fork (it would still be visible in the upstream original repo though).
Also note that if you are deleting a forked repository, deleting it will only remove it (including any changes you have made to it) from your own GitHub - you won't accidentally delete the original project (phew).
If the original repository is deleted, the fork remains. The question is about GitHub!
You can delete your fork actually (not just the master branch)
Once deleted, you will be able (as seen here) to re-fork the original project at any time.
As mentioned here, as long as your PR (Pull Requests) are accepted, you can delete your fork. Or you can delete it even if your PR is pending... but it would then disappear along with your fork (it would still be visible in the upstream original repo though).
Official documentation: "Tidying up after Pull Requests" (for branches only, but you can apply the same idea to fork deletion).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With