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.
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.
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.
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."
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With