I would like to be able to use the gh CLI to transfer ownership from one org to another, something such as:
gh repo transfer-ownership source-org/source-repo target-org/target-repo
Sometimes the repo needs to be made public to transfer, and then set back to private, I think this is when 2FA is switched on.
If the command could handle all things required to transfer the repo, then it'd be great, eg:
set to public on source org and then back to private on target org
rename on target org
add to a team on target org
whatever else all done with just the one command, to save scripting multiple commands to achieve the transfer.
Thanks
I would like to be able to use the
ghCLI to transfer ownership from one org to another, something such as:gh repo transfer-ownership source-org/source-repo target-org/target-repoSometimes the repo needs to be made public to transfer, and then set back to private, I think this is when 2FA is switched on.
If the command could handle all things required to transfer the repo, then it'd be great, eg:
set to public on source org and then back to private on target org
rename on target org
add to a team on target org
whatever else all done with just the one command, to save scripting multiple commands to achieve the transfer.
Thanks