Skip to content

Instantly share code, notes, and snippets.

@acidtone
Last active October 4, 2021 17:12
Show Gist options
  • Save acidtone/3a7ff64489b4fc641f0b96be8edd561d to your computer and use it in GitHub Desktop.
Save acidtone/3a7ff64489b4fc641f0b96be8edd561d to your computer and use it in GitHub Desktop.
Git Activity: Commit Catch

Git Activity: Commit Catch

Goal

Pass committed changes to a partner and back again. See: Pair programming process with Fiona and Semira

Instructions

  1. Your instructor will randomly put you into pairs.
  2. Choose one person to create a GitHub repo (or use an existing one) and invite the other as a collaborator.
  3. Both partners should pull the GitHub repo to their local machines.
  4. Pick a Driver. They will:
    1. Make a local change;
    2. Add and commit the change;
    3. Push the commit to the GitHub repo.
  5. Switch Drivers. The new Driver will:
    1. Pull the new changes from GitHub with git pull.
    2. Make a local change;
    3. Add and commit the change;
    4. Push the commit to the GitHub repo.
  6. Switch Drivers and repeat until you get the hang of committing and pushing changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment