👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-08-20. 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. For help with the upgrade, contact GitHub Enterprise support.

Article version: Enterprise Server 2.18

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.

Were you able to find what you were looking for?

  1. In the upper-right corner of any page, click your profile photo, then click Settings.
    Settings icon in the user bar
  2. In the left sidebar, click Repositories.
    Repositories tab
  3. Next to the repository you want to leave, click Leave.
    Leave button
  4. Read the warning carefully, then click "I understand, leave this repository."
    Dialog box warning you to leave

Were you able to find what you were looking for?

Ask a human

Can't find what you're looking for?

Contact us