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. For more information, see "Transferring a repository."
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.
|Add collaborators||"Inviting collaborators to a personal repository"|
|Change the visibility of the repository||"Setting repository visibility"|
|Merge a pull request on a protected branch, even if there are no approving reviews||"About protected branches"|
|Delete the repository||"Deleting a repository"|
|Manage the repository's topics||"Classifying your repository with topics"|
|Delete packages||"Deleting packages"|
|Customize the repository's social media preview||"Customizing your repository's social media preview"|
|Create a template from the repository||"Creating a template repository"|
|Control access to Dependabot 警报 for vulnerable dependencies||"Managing security and analysis settings for your repository"|
|Define code owners for the repository||"About code owners"|
|Archive the repository||"Archiving repositories"|
Collaborators on a personal repository can pull (read) the contents of the repository and push (write) changes to the repository.
Note: 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 user account.
Collaborators can also perform the following actions.
|Fork the repository||"About forks"|
|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||"Creating and editing milestones for issues and pull requests"|
|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||"Creating a pull request from a fork"|
|Submit a review on a pull request that affects the mergeability of the pull request||"Reviewing proposed changes in a pull request"|
|Create and edit a wiki for the repository||"About wikis"|
|Create and edit releases for the repository||"Managing releases in a repository"|
|Act as a code owner for the repository||"About code owners"|
|Remove themselves as collaborators on the repository||"Removing yourself from a collaborator's repository"|