Fork and clone the PixLab repo.
$ git fetch origin
$ git checkout a1
Read instructions for activity 1 in Picture Lab Student Guide.pdf
.
answers.md
has been provided for you to write the answers to any questions asked in the Student Guide.
Make commits to this branch as you complete the steps outlined in the activity.
Commit all local changes, then (replace # with the current activity number):
$ git push origin a#
For the first 5 activities (a1 through a5):
$ git checkout a#
The branches for activities 6-9 have not been created yet because their code builds on the previous exercises.
First, create a new branch
$ git branch a#
Then checkout it out
$ git checkout a#
Or, you can create and switch with one command with the -b
shortcut
$ git checkout -b a#
If you need to copy a version of a single file from a previous branch into the current branch
$ git checkout old_branch_name -- file_to_copy.java