Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add another user to project owners in Github

Tags:

git

github

How can I add another user to project such that the project shows under his name in his Github account too? I don't want a fork. Two users should host same project in their accounts and this should allow both users to collaborate in the project.

like image 649
Mohsen Avatar asked Nov 04 '11 20:11

Mohsen


People also ask

Can a GitHub repository have two owners?

You can only add collaborators to your repository. It cannot be "co-owned". The only way for doing what you want is to fork the repo and collaborate through pull requests. Note that you can create an organization ( https://github.com/account/organizations/new ) and achieve a bit of what you want.

How do I make someone else the owner of a GitHub repository?

On GitHub.com, navigate to the main page of the repository. Under your repository name, click Settings. Under "Danger Zone", click Transfer. Read the information about transferring a repository, then type the name of the user or organization you'd like to transfer ownership of the repository to.

How many owners can a GitHub organization have?

Organization owners This role should be limited, but to no less than two people, in your organization. For more information, see "Maintaining ownership continuity for your organization."


1 Answers

You can only add collaborators to your repository. It cannot be "co-owned".

But when someone is added as collaborator to a repo, that repo will be listed in the Your Repositories section ( but the username will be the owner username only)

The only way for doing what you want is to fork the repo and collaborate through pull requests.

Note that you can create an organization ( https://github.com/account/organizations/new ) and achieve a bit of what you want.

like image 98
manojlds Avatar answered Sep 20 '22 15:09

manojlds