Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between a pull request by a collaborator and contributor in GitHub?

what is the difference between a pull request by a collaborator and contributor in GitHub? I don't find any special privileges for collaborators.

like image 935
anna Avatar asked Jan 01 '23 07:01

anna


2 Answers

The one special privilege a collaborator has over a contributor is... that they (the collaborator) can push directly to your repository (since you have added them as "collaborator").

They can push their own branch and do a pull request from withi your repo, between their branch and master.

As opposed to a contributor, who has to fork your repository first, and make a pull request from their own fork/branch to your repo/master.

like image 149
VonC Avatar answered Jan 02 '23 19:01

VonC


  • Contributor: A contributor is someone from the outside not on the core development team of the project that wants to contribute some changes to a project.

  • Collaborator: A collaborator is someone on the core development team of the project and has commit access to the main repository of the project.

  • Author: The person/s or organization that created the project

  • Owner: The person/s who has administrative ownership over the organization or repository (not always the same as the original author)

  • Maintainers: Contributors who are responsible for driving the vision and managing the organizational aspects of the project. (They may also be authors or owners of the project.)

  • Community Members: People who use the project. They might be active in conversations or express their opinion on the project’s direction.


Reference:

GitHub Guide and GitHub Help.

like image 43
David Kariuki Avatar answered Jan 02 '23 19:01

David Kariuki