This activity will demonstrate the Git workflow using dinosaurs and sticky notes. It covers the edit, stage, commit flow and the writing of commit messages. Advanced challenges cover selective staging and revert.
Each team of 1-3 people will require:
Label the sheets of paper “Edit”, “Staging” and “Repository” and arrange them in order.
TODO: Image
There are easy instructions and harder instructions.
git add -a
git commit -m "Added two dinosaurs"
git add -a
git commit -m "Changed T-Rex to yellow"
Repo: Red Stegosaurus, Yellow T-Rex
Check your repository’s state against the demo one.