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 "Downgrading your organization's paid seats."

  • 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. Suas organizações no menu de perfil
  2. Clique no nome da sua organização. Nome da organização na lista de organizações
  3. No nome da sua organização, clique em Pessoas. Guia Pessoas
  4. Na guia "Pessoas", clique em Colaboradores externos. Botão para selecionar colaboradores externos para uma organização
  5. Select the outside collaborator or outside collaborators you'd like to remove from the organization. List of outside collaborators with two outside collaborators selected
  6. Above the list of outside collaborators, use the drop-down menu, and click Remove from all repositories. Drop-down menu with option to remove outside collaborators
  7. Review the outside collaborator or outside collaborators who will be removed from the organization, then click Remove outside collaborators. List of outside collaborators who will be removed and Remove outside collaborators button

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. Suas organizações no menu de perfil
  2. Clique no nome da sua organização. Nome da organização na lista de organizações
  3. No nome da sua organização, clique em Pessoas. Guia Pessoas
  4. Na guia "Pessoas", clique em Colaboradores externos. Botão para selecionar colaboradores externos para uma organização
  5. To the right of the username of the person you want to remove, use the drop-down menu, and click Manage. Manage access button
  6. To the right of the repository that you want to remove the outside collaborator from, click Manage access. Select manage access button next to a repository the outside collaborator has access to
  7. To completely remove the outside collaborator's access to the repository, in the upper right corner, click Remove access to this repository. Remove access to this repository button
  8. To confirm, click Remove access. Confirm outside collaborator who will be removed from the repository

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

Further reading