You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Personal repository access and collaboration
3
+
intro: 'Learn how to manage access and collaboration for repositories you own with your personal account on {% data variables.product.github %}.'
4
+
versions:
5
+
fpt: '*'
6
+
ghes: '*'
7
+
ghec: '*'
8
+
topics:
9
+
- Accounts
10
+
- Repositories
11
+
- Privacy
12
+
- Open Source
13
+
shortTitle: Access to repositories
14
+
---
15
+
16
+
## About collaboration in a personal repository
17
+
18
+
You can collaborate with others on repositories you own by inviting them as collaborators. Collaborators have access to contribute to your code and manage issues and pull requests.
19
+
20
+
{% ifversion ghec %}
21
+
22
+
If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, you can only invite other members of your enterprise to collaborate with you. {% data reusables.enterprise-accounts.emu-more-info-account %}
23
+
24
+
{% endif %}
25
+
26
+
To add a collaborator, see [AUTOTITLE](/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository).
27
+
28
+
{% ifversion fpt or ghec %}
29
+
30
+
{% data reusables.repositories.private_forks_inherit_permissions %}
31
+
32
+
## About successors
33
+
34
+
We recommend inviting another {% data variables.product.company_short %} user to be your successor, to manage your user owned repositories if you cannot. As a successor, they will have permission to:
35
+
36
+
* Archive your public repositories.
37
+
* Transfer your public repositories to their own user owned account.
38
+
* Transfer your public repositories to an organization where they can create repositories.
39
+
40
+
Successors cannot log into your account.
41
+
42
+
An appointed successor can manage your public repositories after presenting a death certificate then waiting for 7 days or presenting an obituary then waiting for 21 days. For more information, see [AUTOTITLE](/free-pro-team@latest/site-policy/other-site-policies/github-deceased-user-policy).
43
+
44
+
To request access to manage repositories as a successor, please contact us through the {% data variables.contact.contact_support_portal %}.
45
+
46
+
For more information, see [AUTOTITLE](/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/maintaining-ownership-continuity-of-your-personal-accounts-repositories).
Copy file name to clipboardExpand all lines: content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/index.md
Copy file name to clipboardExpand all lines: content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository.md
+2-24Lines changed: 2 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,30 +19,11 @@ topics:
19
19
- Repositories
20
20
shortTitle: Invite collaborators
21
21
---
22
-
## About collaboration in a personal repository
23
-
24
-
To collaborate with users in a repository that belongs to your personal account on {% data variables.product.prodname_dotcom %}, you can invite the users as collaborators.
25
-
26
-
If you want to grant more granular access to the repository, you can create a repository within an organization. For more information, see [AUTOTITLE](/get-started/learning-about-github/access-permissions-on-github).
27
-
28
-
{% ifversion ghec %}
29
-
30
-
If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, you can only invite other members of your enterprise to collaborate with you. {% data reusables.enterprise-accounts.emu-more-info-account %}
31
-
32
-
{% endif %}
33
-
34
-
{% data reusables.repositories.private_forks_inherit_permissions %}
35
22
36
23
## Inviting a collaborator to a personal repository
37
24
38
25
You can send an invitation to collaborate in your repository directly to someone on {% data variables.product.prodname_dotcom %}{% ifversion fpt or ghec %}, or to the person's email address{% elsif ghes %}.{% endif %}.
39
26
40
-
{% ifversion fpt or ghec %}
41
-
42
-
{% data variables.product.company_short %} limits the number of people who can be invited to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization to collaborate with more people. For more information, see [AUTOTITLE](/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch).
43
-
44
-
{% endif %}
45
-
46
27
1. Ask for the username of the person you're inviting as a collaborator.{% ifversion fpt or ghec %} If they don't have a username yet, they can sign up for {% data variables.product.prodname_dotcom %}. For more information, see [AUTOTITLE](/get-started/start-your-journey/creating-an-account-on-github).{% endif %}
47
28
{% data reusables.repositories.navigate-to-repo %}
48
29
{% data reusables.repositories.sidebar-settings %}
@@ -54,9 +35,6 @@ You can send an invitation to collaborate in your repository directly to someone
54
35
1. The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository.
* For reference information, see [AUTOTITLE](/account-and-profile/reference/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account)
Copy file name to clipboardExpand all lines: content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/maintaining-ownership-continuity-of-your-personal-accounts-repositories.md
We recommend inviting another {% data variables.product.company_short %} user to be your successor, to manage your user owned repositories if you cannot. As a successor, they will have permission to:
20
-
21
-
* Archive your public repositories.
22
-
* Transfer your public repositories to their own user owned account.
23
-
* Transfer your public repositories to an organization where they can create repositories.
24
-
25
-
Successors cannot log into your account.
26
-
27
-
An appointed successor can manage your public repositories after presenting a death certificate then waiting for 7 days or presenting an obituary then waiting for 21 days. For more information, see [AUTOTITLE](/free-pro-team@latest/site-policy/other-site-policies/github-deceased-user-policy).
28
-
29
-
To request access to manage repositories as a successor, please contact us through the {% data variables.contact.contact_support_portal %}.
Copy file name to clipboardExpand all lines: content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Removing a collaborator from a personal repository
3
-
intro: 'When you remove a collaborator from your project, they lose read/write access to your repository. If the repository is private and the person has created a fork, then that fork is also deleted.'
3
+
intro: 'You can remove a collaborator from your personal repository at any time.'
* For reference information, see [AUTOTITLE](/account-and-profile/reference/permission-levels-for-a-personal-account-repository#removing-a-collaborator).
Copy file name to clipboardExpand all lines: content/account-and-profile/reference/permission-levels-for-a-personal-account-repository.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,12 @@ The repository owner has full control of the repository. In addition to the acti
66
66
67
67
## Collaborator access for a repository owned by a personal account
68
68
69
+
{% ifversion fpt or ghec %}
70
+
71
+
{% data variables.product.company_short %} limits the number of people who can be invited to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization to collaborate with more people. For more information, see [AUTOTITLE](/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch).
72
+
73
+
{% endif %}
74
+
69
75
Collaborators on a personal repository can pull (read) the contents of the repository and push (write) changes to the repository.
70
76
71
77
> [!NOTE]
@@ -95,6 +101,10 @@ Collaborators can also perform the following actions.
95
101
| {% endif %} |
96
102
| Remove themselves as collaborators on the repository |[AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository)|
97
103
98
-
## Further reading
104
+
If you want more granular control of permissions to the repository, you can create a repository within an organization. For more information, see [AUTOTITLE](/get-started/learning-about-github/access-permissions-on-github).
105
+
106
+
## Removing a collaborator
107
+
108
+
While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.
When you remove a collaborator from your project, they lose read/write access to yourrepository. If the repository is private and the person has created a fork, then that fork is also deleted.
0 commit comments