Note
If your enterprise uses managed user accounts, the outside collaborator role is called "repository collaborator." Generally, the documentation for outside collaborators also applies to repository collaborators. For the distinctions that apply, see "Roles in an organization."
Warning
- When removing an outside collaborator from a private repository, the paid license count does not automatically downgrade. To pay for fewer licenses after removing users from your organization, follow the steps in "Downgrading your account's plan."
- You are responsible for ensuring that people who have lost access to a repository delete any confidential information or intellectual property.
While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.
Removing outside collaborators from all repositories in an organization
-
In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
-
Click the name of your organization.
-
Under your organization name, click People.
-
In the "Organization permissions" sidebar, click Outside collaborators.
-
Select the outside collaborator or outside collaborators you'd like to remove from the organization.
-
Above the list of outside collaborators, select the X collaborators selected... dropdown menu, and click Remove from all repositories.
-
Review the outside collaborator or outside collaborators who will be removed from the organization, then click Remove outside collaborators.
Removing an outside collaborator from a particular repository in an organization
If you only want to remove an outside collaborator from certain repositories in your organization, you can remove this person's access to one specific repository at a time.
-
In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
-
Click the name of your organization.
-
Under your organization name, click People.
-
In the "Organization permissions" sidebar, click Outside collaborators.
-
To the right of the username of the person you want to remove, select the dropdown menu, and click Manage.
-
To the right of the repository that you want to remove the outside collaborator from, click Manage access.
-
To completely remove the outside collaborator's access to the repository, in the upper right corner, click Remove access to this repository.
-
To confirm, click Remove access.
You can also remove an outside collaborator from a repository in the access overview in your repository settings. For more information, see "Managing teams and people with access to your repository."