Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I delete a forked repository after Pull Request is merged without losing my contribution history?

Tags:

github

I've forked a GitHub repository to contribute to the parent repo. Once I made the changes and the PR is merged, can I delete the forked repo?

Will deleting the forked repository

  • delete my contribution in my profile for that PR?
  • cause my contribution activity (my commits) to not show up on my profile?
  • remove me from the list of contributors?

I found this blog post (Tidying up after Pull Requests ) which talks about deleting a branch after the PR is merged, but couldn't find any article for forked contributions.

like image 963
Gangula Avatar asked Sep 13 '25 17:09

Gangula


2 Answers

Yes, you can delete the repository from your account.

It will not affect your contribution & your commits to that repository.

like image 50
Milan Surelia Avatar answered Sep 15 '25 09:09

Milan Surelia


If you deleted the forked repo whose PR was merged your Profile badges & status remains the same. Contribution activity also remains same before.enter image description here

like image 42
Kdhere Avatar answered Sep 15 '25 08:09

Kdhere