Question

Which is the preferred way when working in teams on a github project? Should each member have it's own fork or should I create an organisation where the main project is and everyone in the team makes a clone of the project?

Was it helpful?

Solution

Using Organization is the easiest way for your team to collaborate directly to one GitHub repo.
See "User, Organization and Project Pages".
That allows you to manage a group-owned repository (or repositories).

You can even convert an existing account (user) into an organization.

Note that in all cases (fork or organization), a local clone will be needed for any team member to work on a project.
The question is: what that local clone is cloning? Your initial repo, or one of the multiple forks created by your team members? Managing one centralized repo is easier.

OTHER TIPS

To me, forking suggests a permanent divergence, whereas that's definitely not the case for a team project. So go with the usual clone and merge workflow.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top