如何在组织上托管 GitHub 存储库而不丢失我的名字?

如何在组织上托管 GitHub 存储库而不丢失我的名字?

是否可以将 Github 项目/存储库放在我名下,同时又将其作为某个组织的一部分?例如,将我的项目托管在某个组织下,它将被命名为https://github.com/ORGANIZATION-XYZ而将它托管在我自己的个人资料上会给它命名https://github.com/Kong

我能做什么?分叉?

答案1

如果您主要担心的是名称,则可以将“Kong”帐户转换为组织。但是,有一些注意事项:

Warning: Before converting a user into an organization, keep these points in mind:

    You will no longer be able to sign into the converted user account.
    You will no longer be able to create or modify gists owned by the converted user account.
    An organization cannot be converted back to a user.
    The SSH keys, OAuth tokens, job profile, reactions, and associated user information, will not be transferred to the organization. This is only true for the user account that's being converted, not any of the user account's collaborators.
    Any commits made with the converted user account will no longer be linked to that account. The commits themselves will remain intact.

这可以在“设置”->“组织”->“转换帐户”下完成,具体说明如下https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization

相关内容