Github: How do I add my own projects to an "organization" account?
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?)
Solution 1:
- Navigate to the
Settings
tab of your repository:
- Scroll down to the
Danger Zone
and clickTransfer
:
-
After reading the warnings, provide the name of the repository that you want to transfer and the specific organisation that the repository is going to be transferred to and click
I understand, transfer this repository
:
- Done! You 'll then be notified that you action will take effect in a few minutes:
For more details, you can always refer to the official documentation.
Solution 2:
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.