Skip to main content

Permission levels for a personal account repository

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

About permissions levels for a personal account repository

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

You can also invite users to your repository as collaborators. For more information, see 邀请协作者参加个人仓库.

提示

If you require more granular access to a repository owned by your personal account, consider transferring the repository to an organization. For more information, see 转让仓库.

Owner access for a repository owned by a personal account

The repository owner has full control of the repository. In addition to the actions that any collaborator can perform, the repository owner can perform the following actions.

ActionMore information
Invite collaborators邀请协作者参加个人仓库
Change the visibility of the repository设置存储库可见性
Limit interactions with the repository限制仓库中的交互
Rename a branch, including the default branch重命名分支
Merge a pull request on a protected branch, even if there are no approving reviews关于受保护分支
Delete the repository删除仓库
Manage the repository's topics使用主题对仓库分类
Manage security and analysis settings for the repository管理存储库的安全和分析设置
Enable the dependency graph for a private repository, or public fork探索仓库的依赖项
Delete and restore packages删除和恢复包
Customize the repository's social media preview自定义仓库的社交媒体预览
Create a template from the repository创建模板仓库
Control access to Dependabot alerts管理存储库的安全和分析设置
Dismiss Dependabot alerts in the repository查看和更新 Dependabot 警报
Manage data use for a private repository管理存储库的安全和分析设置
Define code owners for the repository关于代码所有者
Archive the repository存档仓库
Create security advisories关于存储库安全公告
Display a sponsor button在仓库中显示赞助者按钮
Allow or disallow auto-merge for pull requests管理仓库中拉取请求的自动合并
Manage deploy keys管理部署密钥
Manage webhooks关于 web 挂钩

Collaborator access for a repository owned by a personal account

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

注意

In a private repository, repository owners can only grant write access to collaborators. Collaborators can't have read-only access to repositories owned by a personal account.

Collaborators can also perform the following actions.

ActionMore information
Fork the repository关于分叉
Rename a branch other than the default branch重命名分支
Create, edit, and delete comments on commits, pull requests, and issues in the repository
Create, assign, close, and re-open issues in the repositoryGitHub Issues 文档
Manage labels for issues and pull requests in the repository管理标签
Manage milestones for issues and pull requests in the repository创建和编辑议题及拉取请求的里程碑
Mark an issue or pull request in the repository as a duplicate将议题或拉取请求标记为重复
Create, merge, and close pull requests in the repository通过拉取请求提议工作更改
Enable and disable auto-merge for a pull request自动合并拉取请求
Apply suggested changes to pull requests in the repository在拉取请求中加入反馈
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管理仓库中的发行版
Act as a code owner for the repository关于代码所有者
Publish, view, or install packages了解 GitHub Packages
Remove themselves as collaborators on the repository从协作者的仓库中删除您自己

Further reading