Remove contributors from the contributors list? #49813
Replies: 7 comments 16 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hello zielony12!If your friend is no longer a collaborator on your GitHub repository and their code has been removed, they should no longer appear on the contributors list. However, if you are still seeing their name in the contributors list, it's possible that their contributions are cached by GitHub and will be removed over time. If you want to remove a specific contributor from the contributors list immediately, you can do so by manually editing the repository's Git history. Here are the general steps to follow:
Note that modifying the Git history of a repository can be a complex and potentially risky operation. Make sure you have a backup of your repository before attempting these steps. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Hello, check this documentation out: https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository#removing-collaborator-permissions-from-a-person-contributing-to-a-repository If you found this resource as helpful "mark as answer" |
Beta Was this translation helpful? Give feedback.
-
In my case, I pushed a commit with a different account, removed that commit, but the other account remained in the contributors list on GitHub, despite having 0 commits in the project history. Switching the GitHub repo from 'public to private' and then back to 'public' was the only solution that worked for me as of November 2023. |
Beta Was this translation helpful? Give feedback.
-
To remove a contributor from the contributors list on GitHub: Go to your repository. |
Beta Was this translation helpful? Give feedback.
-
Restoring the default branch name after changing it, while ensuring no other contributors have made commits to the branch, is valid. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
My friend was in my repo but now he isnt, there is no even his code anymore (overwritten by git commit -f) and he is not a collabolator. How do i remove him from the contributors list?
Beta Was this translation helpful? Give feedback.
All reactions