Skip to main content

Removing an outside collaborator from an organization repository

Owners and repository admins can remove an outside collaborator's access to a repository.

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 "Downgrade do plano da sua conta."

  • 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

  1. No canto superior direito do GitHub.com, clique na foto do seu perfil e clique em Suas organizações.

    Captura de tela do menu suspenso na imagem de perfil do @octocat. "Suas organizações" está contornado em laranja escuro.

  2. Clique no nome da sua organização.

  3. Sob o nome da organização, clique em Pessoas.

    Captura de tela da barra de navegação horizontal para uma organização. Uma guia, rotulada com um ícone de pessoas e "Pessoas" tem um contorno laranja escuro.

  4. Na barra lateral "Permissões da organização", clique em Colaboradores externos.

  5. Select the outside collaborator or outside collaborators you'd like to remove from the organization.

    Screenshot of the first two users in the list of outside collaborators. To the left of each user, a checkbox is checked and outlined in dark orange.

  6. Above the list of outside collaborators, select the X collaborators selected... dropdown menu, and click Remove from all repositories.

    Screenshot of the list of outside collaborators. Above the list, a dropdown menu, labeled "2 collaborators selected..." is outlined in dark orange.

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

  1. No canto superior direito do GitHub.com, clique na foto do seu perfil e clique em Suas organizações.

    Captura de tela do menu suspenso na imagem de perfil do @octocat. "Suas organizações" está contornado em laranja escuro.

  2. Clique no nome da sua organização.

  3. Sob o nome da organização, clique em Pessoas.

    Captura de tela da barra de navegação horizontal para uma organização. Uma guia, rotulada com um ícone de pessoas e "Pessoas" tem um contorno laranja escuro.

  4. Na barra lateral "Permissões da organização", clique em Colaboradores externos.

  5. To the right of the username of the person you want to remove, select the dropdown menu, and click Manage.

    Screenshot of the outside collaborator list for an organization. To the right of a collaborator, a kebab icon is outlined in dark orange.

  6. To the right of the repository that you want to remove the outside collaborator from, click Manage access.

  7. To completely remove the outside collaborator's access to the repository, in the upper right corner, click Remove access to this repository.

  8. 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 "Gerenciando equipes e pessoas com acesso ao seu repositório."