Skip to content

Commit 5f063bf

Browse files
jc-clarkCopilot
andauthored
[EDI] Managing access to your personal repositories (#57121)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0b6b836 commit 5f063bf

File tree

7 files changed

+67
-47
lines changed

7 files changed

+67
-47
lines changed

content/account-and-profile/concepts/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ children:
1717
- /changing-your-github-username
1818
- /email-addresses
1919
- /scheduled-reminders
20+
- /personal-repository-access-and-collaboration
2021
---
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
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).
47+
48+
{% endif %}

content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ children:
2121
- /removing-a-collaborator-from-a-personal-repository
2222
- /removing-yourself-from-a-collaborators-repository
2323
- /maintaining-ownership-continuity-of-your-personal-accounts-repositories
24-
shortTitle: Access to your repositories
24+
shortTitle: Manage repository access
2525
---
2626

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

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,11 @@ topics:
1919
- Repositories
2020
shortTitle: Invite collaborators
2121
---
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 %}
3522

3623
## Inviting a collaborator to a personal repository
3724

3825
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 %}.
3926

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-
4627
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 %}
4728
{% data reusables.repositories.navigate-to-repo %}
4829
{% data reusables.repositories.sidebar-settings %}
@@ -54,9 +35,6 @@ You can send an invitation to collaborate in your repository directly to someone
5435
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.
5536
{% endif %}
5637

57-
## Further reading
38+
## Next steps
5839

59-
* [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account)
60-
* [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository)
61-
* [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)
62-
* [AUTOTITLE](/organizations/organizing-members-into-teams)
40+
* 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)

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@ redirect_from:
1414
- /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/maintaining-ownership-continuity-of-your-personal-accounts-repositories
1515
shortTitle: Ownership continuity
1616
---
17-
## About successors
18-
19-
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 %}.
3017

3118
## Inviting a successor
3219

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
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.'
44
redirect_from:
55
- /articles/how-do-i-remove-a-collaborator
66
- /articles/what-happens-when-i-remove-a-collaborator-from-my-private-repository
@@ -22,9 +22,6 @@ topics:
2222
- Repositories
2323
shortTitle: Remove a collaborator
2424
---
25-
## Deleting forks of private repositories
26-
27-
While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.
2825

2926
## Removing collaborator permissions from a person contributing to a repository
3027

@@ -33,7 +30,6 @@ While forks of private repositories are deleted when a collaborator is removed,
3330
{% data reusables.repositories.click-collaborators-teams %}
3431
1. To the right of the collaborator you want to remove, click **Remove**.
3532

36-
## Further reading
33+
## Next steps
3734

38-
* [AUTOTITLE](/organizations/organizing-members-into-teams/removing-organization-members-from-a-team)
39-
* [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-outside-collaborators/removing-an-outside-collaborator-from-an-organization-repository)
35+
* For reference information, see [AUTOTITLE](/account-and-profile/reference/permission-levels-for-a-personal-account-repository#removing-a-collaborator).

content/account-and-profile/reference/permission-levels-for-a-personal-account-repository.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ The repository owner has full control of the repository. In addition to the acti
6666

6767
## Collaborator access for a repository owned by a personal account
6868

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+
6975
Collaborators on a personal repository can pull (read) the contents of the repository and push (write) changes to the repository.
7076

7177
> [!NOTE]
@@ -95,6 +101,10 @@ Collaborators can also perform the following actions.
95101
| {% endif %} |
96102
| 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) |
97103

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.
99109

100-
* [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization)
110+
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.

0 commit comments

Comments
 (0)