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?

有帮助吗?

解决方案

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.

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top