Skip to content

Instantly share code, notes, and snippets.

@w3cj
Last active December 12, 2020 10:38
Show Gist options
  • Select an option

  • Save w3cj/975548b2ea614ea1d30ac29b18b23e8b to your computer and use it in GitHub Desktop.

Select an option

Save w3cj/975548b2ea614ea1d30ac29b18b23e8b to your computer and use it in GitHub Desktop.

Team Collaboration with Git



Setup

  1. Create a Github Organization
  2. Create seperate repos for backend/frontend/mobile/database
  3. Add team members to organization

Contributing

Any team member that wants to make a change should:

  1. Fork/clone a specific repo from the github organization
  2. Make changes, add, commit, push to their fork
  3. Make a pull request to the organization repo

Accepting Pull Requests

  • Option 1: The only person that can merge pull requests is the "maintainer" (you decide who that is)
  • Option 2: No one is allowed to merge their own pull request. Any other member of the team that did not contribute to said pull request is allowed to merge it.
  • Option 3: Do whatever you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment