Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2024-03-07. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact 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, click your profile photo, then click Settings.

    Screenshot of a user's account menu on GitHub. The menu item "Settings" is outlined in dark orange.

  2. In the "Code, planning, and automation" section of the sidebar, 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.