We've just opened up access to a feature we've been brewing for some time now... transferring repos between accounts! While we've actually had this capability for a few months now, y'all had to contact support to request a repo move. Now you can do this yourself:
There are a few caveats of course, there always are...
- The target account must not have a repo with the same name, or a fork in the same network.
- If the repo is private the target account must have a paid account with at least one unused private repo available.
- Private forks cannot be transferred, only root private repos.
We can't set up redirects, so every clone of the repo will need to have it's remote updated. Thankfully all you need to run is
git remote set-url remote_name new_url to update your local repo.
After much consideration and user feedback, we've decided to restrict this option a bit. You can now only transfer a repo into an organization account for which you have admin rights. This should cover the majority of cases, in the rare chance you want to transfer to another user please contact support.