Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub Collaboration Using the Shared Repository Model

Tags:

Can someone provide me with the cheat sheet for GitHub collaboration for a team of two who want equal access/rights to the repo. I am confused as to the need to use forking which appears to make sense for a large open source project with dispersed devs but seeems like overkill when I and my partner sit 10 feet from each other.

Thanks,
Doug

like image 666
dugla Avatar asked Dec 15 '10 21:12

dugla


People also ask

What is shared repository model?

In a shared repository model, team members are allowed to contribute to a single shared repository and to create branches for delivering new features. The process is equal to the fork mode. A PR needs to be created by a developer to push new code to the main development branch.

How does collaboration work in GitHub?

Collaboration is the way different people can work on the same project together. It is like creating a group in GitHub just like Groups in other social media. The people added to the collaborator's list can be able to push, merge, and do other kinds of similar things on the project.


1 Answers

If you have a small team and want everyone to have access to the repo, you can just grant them collaborator permission in the repo's admin settings. Forking isn't required if your scenario doesn't require it. (Although forking can be useful, you're also partly right: if you have a small team and know all the other team members and don't mind giving them read/write access, there's no need to fork.)

like image 88
mipadi Avatar answered Oct 01 '22 18:10

mipadi