Skip to content

Instantly share code, notes, and snippets.

@DrPsyFi
Forked from rogerwschmidt/code-collaboration.md
Last active March 26, 2018 18:42
Show Gist options
  • Save DrPsyFi/b943617e1ad19c0d2e053901ff09695a to your computer and use it in GitHub Desktop.
Save DrPsyFi/b943617e1ad19c0d2e053901ff09695a to your computer and use it in GitHub Desktop.

Code collaboration Instructor Notes

Objectives

  • Explain what github Organizations are, and why they are useful

    -Organizations are great for creating distinct groups of users within your company, such as divisions or groups working on similar projects. Public repositories that belong to an organization are accessible to users in other organizations, while private repositories are inaccessible to anyone but members of the organization.

  • Create a github organization, and add a repo

  • Collaborate using a Github Organization

  • Use upstreams to keep your repo up to date with the organization repo

What are Github Organizations are and why they are useful?

With your group, research Github Organizations and discuss why they are useful

How do you create an GitHub Organization?

With your group, create a github organization (g82-house-name), and add all your team mates (and instructors) as memebers. Then add a repo named ecommerce to the organization

How do you collaborate using a github organization

  • Fork from organization
  • Clone to your local environment
  • Make a change, add, commit, and push
  • Create a pull request from your github repo to the github organization repo
  • Accept pull request in Github Organization

How do you use an upstream repo

  • Set up an upstream repo
  • Pull changes from upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment