Reputation: 12697
I have started collaborating on a series of projects with several developers on github, and we recently created an organization with it's own "organization" type account on github. I see that I can fork repositories of my collaborators into the organization account using the usual fork menu, but of course I cannot fork my own account.
What is the expected workflow to import my existing repositories into the organizational account? (I presume I could fork projects hosted by the other members, but not my own?)
Upvotes: 81
Views: 59969
Reputation: 2956
Settings
tab of your repository:Danger Zone
and click Transfer
:I understand, transfer this repository
:For more details, you can always refer to the official documentation.
Warning: once this is done, make sure you also update any local repository references using the following command git remote set-url origin <new-origin>
.
Upvotes: 69
Reputation: 12429
In the updated github UI all you need to do is go to your project and click "Fork" and then it will ask you if you want to fork into an organization that you are an admin of.
Way simple, just not easy to find.
Upvotes: 15