- Learn from others (optional)
- Add Increment as a branch:
Level-5
- Add Increment:
A-Packages
1 Learn from others (optional)
- You can use the iP Code Dashboard to view others' iP code, using the
Links → iP Code Dashboard
item in the top navigation menu of this course website. Click on the icon corresponding to a student name to see the code written by that person. We encourage you to read others’ code and learn from them. If you adopt solutions from others (also encouraged), please follow our reuse policy.
2 Add Increment as a branch: Level-5
- Do each increment as a Git branch. Here is an example:
- Start a branch named
branch-{increment ID}
(e.g.branch-Level-5
). You are recommended to have multiple commits in that branch. Follow the branch naming convention exactly or else our gradings scripts might miss your branch. - After the increment is ready, merge the
branch-Level-5
back on tomaster
, without a fast-forward so that git creates a separate commit for the merge.git tag
that merge commit asLevel-5
. - Push the branch to your fork so that the grading script can detect it. As before, push the tag as well.
- Advanced git users: do not delete the branch after merging.
- Start a branch named
3 Add Increment: A-Packages
- Recommended: if you are new to git, do this as a separate branch too (for additional practice), similar to how you did
Level-5
(branch namebranch-A-Packages
).