Learn how to invite collaborators to your GitHub repository with our simple guide covering settings, permissions, and CLI options.
Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
Step 1: Sign in to Your GitHub Account
Make sure you are signed in to GitHub. If you don’t have an account yet, go to https://github.com/join and complete the sign-up process.
Step 2: Navigate to Your Target Repository
Open your browser and go to the repository where you want to invite collaborators. You can access it via your profile dropdown or by entering the URL directly, for example:
https://github.com/your-username/your-repository
Step 3: Access the Repository Settings
Scroll down the right-hand sidebar and click Settings. Only repository owners and users with admin permissions can see this option.
Step 4: Open the “Manage Access” Tab
In the Settings navigation menu (left side), find and click Manage access. You may need to scroll down within the Settings menu to locate it.
Step 5: Begin the Invitation Process
Inside “Manage access,” click the green Invite a collaborator button. A modal dialog will appear prompting you to select a user.
Step 6: Enter Collaborator Details
In the dialog’s search box, start typing the person’s GitHub username, full name, or email address. GitHub will show matching accounts. Select the correct one.
Step 7: Choose a Permission Level
Decide what level of access the collaborator needs. Common levels include:
Select the appropriate role from the dropdown.
Step 8: Send the Invitation
Click the Add collaborator button. GitHub will send an email notification and an on-screen alert will confirm that the invitation is pending.
Step 9: Collaborator Accepts the Invitation
Your collaborator will receive an email with an invitation link. They must click View Invitation (in the email or in their GitHub notifications), then click Accept invitation. Once accepted, they’ll have the granted access to your repository.
Step 10 (Optional): Invite via GitHub CLI
If you prefer the command line, install and authenticate the GitHub CLI (https://cli.github.com/) and run:
gh repo add-collaborator your-username/your-repository \\
--user collaborator-username \\
--permission write
Replace your-username/your-repository
and collaborator-username
with the actual names, and adjust --permission
as needed.
That's it! You’ve successfully invited collaborators and configured their access to your GitHub repository.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.