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.

Conseil

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 Transfert d’un dépôt.

Owner access for a repository owned by a personal account

Repositories owned by personal accounts have a single owner who 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
Add collaboratorsInviting collaborators to a personal repository
Change the visibility of the repositoryDéfinition de la visibilité du dépôt
Rename a branch, including the default branchChangement du nom d’une branche
Merge a pull request on a protected branch, even if there are no approving reviewsÀ propos des branches protégées
Delete the repositorySuppression d’un référentiel
Manage the repository's topicsClassification de votre dépôt avec des rubriques
Delete and restore packagesSuppression et restauration d'un package
Customize the repository's social media previewPersonnalisation de l’aperçu d’un référentiel sur les réseaux sociaux
Create a template from the repositoryCréation d’un modèle de dépôt
Control access to Dependabot alertsGestion des paramètres de sécurité et d’analyse pour votre dépôt
Define code owners for the repositoryÀ propos des propriétaires de code
Archive the repositoryArchivage de référentiels
Allow or disallow auto-merge for pull requestsGestion de la fusion automatique pour les demandes de tirage dans votre référentiel
Manage deploy keysGestion des clés de déploiement
Manage webhooksÀ propos des webhooks

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.

Remarque

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À propos des duplications (fork)
Rename a branch other than the default branchChangement du nom d’une branche
Create, edit, and delete comments on commits, pull requests, and issues in the repository
Create, assign, close, and re-open issues in the repositoryDocumentation GitHub Issues
Manage labels for issues and pull requests in the repositoryGestion des étiquettes
Manage milestones for issues and pull requests in the repositoryCréation et modification de jalons pour les problèmes et les demandes de tirage
Mark an issue or pull request in the repository as a duplicateMarquage de problèmes ou de demandes de tirage comme doublons
Create, merge, and close pull requests in the repositoryPropositions de modifications de votre travail avec des demandes de tirage
Enable and disable auto-merge for a pull requestFusion automatique d'une demande de tirage
Apply suggested changes to pull requests in the repositoryIncorporation de commentaires dans votre demande de tirage
Create a pull request from a fork of the repositoryCréation d’une demande de tirage à partir d’une duplication
Submit a review on a pull request that affects the mergeability of the pull requestRévision des changements proposés dans une demande de tirage
Create and edit a wiki for the repositoryÀ propos des wikis
Create and edit releases for the repositoryGestion des mises en production dans un référentiel
Act as a code owner for the repositoryÀ propos des propriétaires de code
Remove themselves as collaborators on the repositoryRemoving yourself from a collaborator's repository

If you want more granular control of repository permissions, you can create a repository within an organization. For more information, see Autorisations d’accès sur GitHub.

Access after removing a collaborator

While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your 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.

Next steps

To learn how to add collaborators to your personal repository, see Inviting collaborators to a personal repository.