Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing contributor from github.com?

Tags:

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

like image 770
user6827096 Avatar asked Jun 15 '17 08:06

user6827096


People also ask

Can I remove contributors from GitHub?

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 .

How do I remove someone from GitHub?

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.

How do I stop being a collaborator on GitHub?

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.

What is a contributor on GitHub?

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


2 Answers

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.

like image 106
Peter Reid Avatar answered Sep 18 '22 07:09

Peter Reid


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.

like image 41
user2251965 Avatar answered Sep 19 '22 07:09

user2251965