我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

用户帐户仓库的权限级别

A repository owned by a user account has two permission levels: the repository owner and collaborators.

本文内容

About permissions levels for a user account repository

Repositories owned by user accounts have one owner. Ownership permissions can't be shared with another user account.

You can also add users on GitHub Enterprise Server to your repository as collaborators. For more information, see "Inviting collaborators to a personal repository."

Tip: If you require more granular access to a repository owned by your user account, consider transferring the repository to an organization. 更多信息请参阅“转让仓库”。

Owner access for a repository owned by a user account

仓库所有者对仓库具有完全控制权。 In addition to the actions that any collaborator can perform, the repository owner can perform the following actions.

操作更多信息
Add collaborators
"邀请个人仓库的协作者"
Change the visibility of the repository"Setting repository visibility"
合并受保护分支上的拉取请求(即使没有批准审查)"关于受保护分支"
删除仓库"删除仓库"
Manage the repository's topics"Classifying your repository with topics"
Customize the repository's social media preview"Customizing your repository's social media preview"
Create a template from the repository"Creating a template repository"
Receive
security alerts for vulnerable dependencies"About alerts for vulnerable dependencies"
定义仓库的代码所有者"关于代码所有者"
Archive the repository"About archiving repositories"

Collaborator access for a repository owned by a user account

Collaborators on a personal repository can pull (read) the contents of the repository and push (write) changes to the repository.

注:在私有仓库中,仓库所有者只能为协作者授予写入权限。 协作者不能对用户帐户拥有的仓库具有只读权限。

Collaborators can also perform the following actions.

操作更多信息
Fork the repository"关于复刻"
Create, edit, and delete comments on commits, pull requests, and issues in the repository
Create, assign, close, and re-open issues in the repository"Managing your work with issues"
Manage labels for issues and pull requests in the repository"Labeling issues and pull requests"
Manage milestones for issues and pull requests in the repository"创建和编辑议题及拉取请求的里程碑"
Mark an issue or pull request in the repository as a duplicate"About duplicate issues and pull requests"
Create, merge, and close pull requests in the repository"Proposing changes to your work with pull requests"
Apply suggested changes to pull requests in the repository"Incorporating feedback in your pull request"
Create a pull request from a fork of the repository"从复刻创建拉取请求"
Submit a review on a pull request that affects the mergeability of the pull request"审查拉取请求中提议的更改"
Create and edit a wiki for the repository"关于 wikis"
Create and edit releases for the repository"Managing releases in a repository"
Act as a code owner for the repository"About code owners"
作为仓库协作者删除自己"从协作者的仓库删除您自己"

延伸阅读

此文档对您有帮助吗?

Privacy policy

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。