Neo182
Neo182

Reputation: 13

GitHub repository as contributor

I created a repository and added a contributor, and this was our mutual work. In my GitHub account it appears as a repository and in his account is does not.

We want that his account will have this exact same repository as shown in my repos.

How can we do it? :)

Upvotes: 1

Views: 610

Answers (1)

GoodDeeds
GoodDeeds

Reputation: 8497

Each repository is owned by a single individual or organization account. If you store your repository under your personal account, you would be the owner and your colleague can be made a collaborator. In this case, like you mention, the repository would be listed only in your account's repository list. To give equal "credit" to your collaborator, you could do one of the following:

  1. Pin the repository: Your collaborator can pin any repository they contributed to to their profile page. While the repository would still appear under your name, it will be prominently visible on your collaborator's profile.
  2. Create an organization: You could create an organization where both of you are owners. The repository will then appear in neither of your individual profiles, and both your individual accounts can be publicly listed as members of the organization.

Upvotes: 1

Related Questions