git Github:如何将自己的项目添加到“组织”帐户?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8157615/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Github: How do I add my own projects to an "organization" account?
提问by cboettig
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.
我已经开始与 github 上的几位开发人员合作开展一系列项目,我们最近在 github 上创建了一个拥有自己“组织”类型帐户的组织。我看到我可以使用通常的 fork 菜单将我的合作者的存储库 fork 到组织帐户,但我当然不能 fork 我自己的帐户。
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?)
将我现有的存储库导入组织帐户的预期工作流程是什么?(我想我可以分叉其他成员主持的项目,但不能分叉我自己的项目?)
采纳答案by Andy
回答by jhilden
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.
在更新的 github UI 中,您需要做的就是转到您的项目并单击“Fork”,然后它会询问您是否要分叉到您是其管理员的组织。
Way simple, just not easy to find.
方法简单,就是不容易找到。
回答by thodorisbais
- Navigate to the
Settings
tab of your repository:
- 导航到
Settings
存储库的选项卡:
- Scroll down to the
Danger Zone
and clickTransfer
:
- 向下滚动到
Danger Zone
并单击Transfer
:
- 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
:
- 阅读警告后,提供您要转移的存储库的名称以及存储库将转移到的特定组织,然后单击
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.
更多详细信息,您可以随时参考官方文档。
回答by manojlds
You can move a repo you own to an organization on which you have admin access: http://help.github.com/move-a-repo/
您可以将您拥有的存储库移动到您具有管理员访问权限的组织:http: //help.github.com/move-a-repo/