From 7a138c02e12dc70d20088e655449222b890c1963 Mon Sep 17 00:00:00 2001 From: chiph Date: Fri, 27 Sep 2024 10:13:52 -0500 Subject: [PATCH] Update transferring-a-repository.md (#52059) Co-authored-by: Patrick Knight Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> Co-authored-by: Felicity Chapman --- .../transferring-a-repository.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/repositories/creating-and-managing-repositories/transferring-a-repository.md b/content/repositories/creating-and-managing-repositories/transferring-a-repository.md index e08514bb380b..d0f42800b8f3 100644 --- a/content/repositories/creating-and-managing-repositories/transferring-a-repository.md +++ b/content/repositories/creating-and-managing-repositories/transferring-a-repository.md @@ -27,6 +27,15 @@ When you transfer a repository to a new owner, they can immediately administer t Prerequisites for repository transfers: * 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 %} +* To transfer a repository you must have administrator access to the repository. +{%- ifversion fpt or ghec %} +* Repositories on {% data variables.product.prodname_dotcom_the_website %} can only be transferred to other owners on {% data variables.product.prodname_dotcom_the_website %}. +{%- ifversion ghec %} +* Repositories cannot be transferred into an {% data variables.enterprise.prodname_emu_enterprise %} from outside the enterprise, or vice versa. +{%- endif %} +{%- elsif ghes %} +* 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)." +{%- endif %} * To transfer a repository that you own to an organization, you must have permission to create a repository in the target organization. * The target account must not have a repository with the same name, or a fork in the same network. * The original owner of the repository is added as a collaborator on the transferred repository. Other collaborators to the transferred repository remain intact.