Skip to content

Instantly share code, notes, and snippets.

@wearethefoos
Created February 4, 2016 13:44
Show Gist options
  • Save wearethefoos/66ee74aef566f09b48e0 to your computer and use it in GitHub Desktop.
Save wearethefoos/66ee74aef566f09b48e0 to your computer and use it in GitHub Desktop.

Git Assignment

  • Make teams of 2 to 3 ppl
  • One creates a Repository and adds the rest of the team as collaborators (see repo "Settings")
  • All of you clone the repository on your local machine (make sure you are not cloning inside another git repo!)
    • git clone git@github.com:NAME/REPO.git
  • Recreate the Beer project together, but spread the work in different files, e.g.:
    • 1 person makes the Beer class file
    • 1 person makes the Person, Bartender, and Customer class files

Remember the Git "mantra":

  1. Pull (git pull)
  2. Change/create/delete files as you wish
  3. Add (git add file_name_here)
  4. Commit (git commit -m "message here")
  5. Push (git push)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment