AP CS PixLab
Clone the repo into your Eclipse workspace.
Grab all of the branches
$ git fetch origin
Change to the
$ git checkout a1
Complete the first 3 activities.
When you see a question answer it in
Commit at the end of a section of questions.
When you see an exercise follow this 7 step process:
Make sure your
git status is clean, and you are on the right branch
Write the code and/or make the changes described by the exercise.
Include the comments before methods (called doc comments) on any new methods you write. Follow the structure of the method comments already written.
Test your code as described by the exercise until it works properly.
Remove any unnecessary code
- No printing, unless told to do so
code blocksthat were only used for debugging
- Nothing that doesn’t directly contribute to this exercise
- You can quickly see only your changes:
$ git diff
Test your code again one more time
Double check that you are on the right branch for the activity you are currently working on
$ git branch
# is the current exercise number.
$ git commit -m "Exercise #"