Skip to main content

Removing a collaborator from a personal repository

When you remove a collaborator from your project, they lose read/write access to your repository. If the repository is private and the person has created a fork, then that fork is also deleted.

谁可以使用此功能?

如果使用 GitHub Free,可以在公共和专用存储库上添加无限的协作者。

Deleting forks of private repositories

While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.

Removing collaborator permissions from a person contributing to a repository

  1. 在 GitHub 上,导航到存储库的主页面。

  2. 在存储库名称下,单击 “设置”。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”。

    存储库标头的屏幕截图,其中显示了选项卡。 “设置”选项卡以深橙色边框突出显示。

  3. 在侧边栏的“访问”部分,单击“ 协作者和团队”。

  4. To the right of the collaborator you want to remove, click Remove.

Further reading