Skip to content

Commit 7a138c0

Browse files
chiphpatrick-knightisaacmbrownfelicitymay
authored
Update transferring-a-repository.md (#52059)
Co-authored-by: Patrick Knight <[email protected]> Co-authored-by: Isaac Brown <[email protected]> Co-authored-by: Felicity Chapman <[email protected]>
1 parent ad7f84a commit 7a138c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/repositories/creating-and-managing-repositories/transferring-a-repository.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ When you transfer a repository to a new owner, they can immediately administer t
2727

2828
Prerequisites for repository transfers:
2929
* When you transfer a repository that you own to another personal account, the new owner will receive a confirmation email.{% ifversion fpt or ghec %} The confirmation email includes instructions for accepting the transfer. If the new owner doesn't accept the transfer within one day, the invitation will expire.{% endif %}
30+
* To transfer a repository you must have administrator access to the repository.
31+
{%- ifversion fpt or ghec %}
32+
* Repositories on {% data variables.product.prodname_dotcom_the_website %} can only be transferred to other owners on {% data variables.product.prodname_dotcom_the_website %}.
33+
{%- ifversion ghec %}
34+
* Repositories cannot be transferred into an {% data variables.enterprise.prodname_emu_enterprise %} from outside the enterprise, or vice versa.
35+
{%- endif %}
36+
{%- elsif ghes %}
37+
* Repositories can only be transferred to an owner within the same {% data variables.product.prodname_ghe_server %} instance. For more information about moving a repository from {% data variables.product.prodname_ghe_server %} to {% data variables.product.prodname_ghe_cloud %}, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud)."
38+
{%- endif %}
3039
* To transfer a repository that you own to an organization, you must have permission to create a repository in the target organization.
3140
* The target account must not have a repository with the same name, or a fork in the same network.
3241
* The original owner of the repository is added as a collaborator on the transferred repository. Other collaborators to the transferred repository remain intact.

0 commit comments

Comments
 (0)