Pass committed changes to a partner and back again. See: Pair programming process with Fiona and Semira
- Your instructor will randomly put you into pairs.
- Choose one person to create a GitHub repo (or use an existing one) and invite the other as a collaborator.
- Both partners should pull the GitHub repo to their local machines.
- Pick a Driver. They will:
- Make a local change;
- Add and commit the change;
- Push the commit to the GitHub repo.
- Switch Drivers. The new Driver will:
- Pull the new changes from GitHub with
git pull
. - Make a local change;
- Add and commit the change;
- Push the commit to the GitHub repo.
- Pull the new changes from GitHub with
- Switch Drivers and repeat until you get the hang of committing and pushing changes.