How to remove contributor from showing in the main page of project:
Link https://help.github.com/articles/removing-a-collaborator-from-a-personal-repository/ says it possible in settings, but I dont see any collaborator in there:
On GitHub.com, navigate to the main page of the repository. Under your repository name, click Settings. In the "Access" section of the sidebar, click Collaborators & teams. To the right of the collaborator you want to remove, click .
Under your organization name, click People. Select the member or members you'd like to remove from the organization. Above the list of members, use the drop-down menu, and click Remove from organization. Review the member or members who will be removed from the organization, then click Remove members.
If you no longer want to be a collaborator on someone else's repository, you can remove yourself. In the upper-right corner of any page, click your profile photo, then click Settings. In the left sidebar, click Repositories. Next to the repository you want to leave, click Leave.
GitHub defines a Contributor as: "This user has previously committed to the <repo name> repository." I think that generally means a merged pull request (In other words, a contributor is more than someone who "wants to contribute," but someone who has contributed already).
You cannot (at least without rewriting history - which is highly unrecommended).
Those users have commits in your repository history, and therefore lines of code have been added by them. Even if you remove all their lines of code they will still show as a contributor.
Contributors are not collaborators.
Collaborators are contributors authorized by the repository owner to have direct (usually write) access to the repository, meaning they don't need to fork the repository and they can be assigned to issues among other things.
I accidentally pushed a commit from an old account. The old account remained on the contributors' list even after I had removed the commit. I had to remove the old account from GitHub to make it disappear from the list.
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