Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.

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.

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
  2. In the sidebar, under "Code, planning, and automation", click Repositories.
  3. Next to the repository you want to leave, click Leave.
  4. Read the warning carefully, then click I understand, leave this repository.

Next steps

For reference information, see Permission levels for a personal account repository.