gitgithub

Removing contributor from github.com?


How to remove contributor from showing in the main page of project:

enter image description here

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:

enter image description here


Solution

  • 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.