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.

Inviting collaborators to a personal repository

You can add users as collaborators to your personal repository.

About collaboration in a personal repository

To collaborate with users in a repository that belongs to your personal account on your GitHub Enterprise Server instance, you can invite the users as collaborators.

If you want to grant more granular access to the repository, you can create a repository within an organization. For more information, see "Access permissions on GitHub."

Private forks inherit the permissions structure of the upstream repository. This helps owners of private repositories maintain control over their code. For example, if the upstream repository is private and gives read/write access to a team, then the same team will have read/write access to any forks of the private upstream repository. Only team permissions (not individual permissions) are inherited by private forks.

Note: When you change base permissions for an organization, permissions for private forks are not automatically updated. For more information, see "Setting base permissions for an organization."

Inviting a collaborator to a personal repository

You can send an invitation to collaborate in your repository directly to someone on your GitHub Enterprise Server instance.

  1. Ask for the username of the person you're inviting as a collaborator.

  2. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  3. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  4. In the "Access" section of the sidebar, click Collaborators.

  5. Click Add people.

  6. In the search field, start typing the name of person you want to invite, then click a name in the list of matches.

  7. Click Add NAME to REPOSITORY.

Further reading