- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, click Repositories.
- Next to the repository you want to leave, click Leave.
- Read the warning carefully, then click "I understand, leave this repository."
Explore by product
GitHub
Get startedGitHubEnterprise administratorsBilling and paymentsOrganizationsCode securityGitHub IssuesGitHub ActionsGitHub CodespacesGitHub PackagesDevelopersREST APIGraphQL APIGitHub InsightsGitHub DiscussionsGitHub SponsorsBuilding communitiesGitHub PagesEducationGitHub DesktopGitHub CLIAtomElectronCodeQL
Removing yourself from a collaborator's repository
If you no longer want to be a collaborator on someone else's repository, you can remove yourself.
If you're using GitHub Free, you can add unlimited collaborators on public and private repositories.
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution