- Add Increments as parallel branches:
Level-6
,Level-7
- Add Increment:
A-Jar
1 Add Increments as parallel branches: Level-6
, Level-7
- Practice using parallel git branches, as explained below:
- First, do Level-6 in a branch named
branch-Level-6
, but do not merge it. - Then, go back to the
master
branch and implement Level-7 in a separate branch namedbranch-Level-7
. - Now, go back to the
master
branch and merge the two branches one after the other.
If there are merge conflicts, you'll have to resolve them first. - As before, tag the commit (in the
master
branch, after merging) that achieves the respective deliverable, and push to your fork.
- First, do Level-6 in a branch named
- As before,
Merge without a fast-forward so that git creates a separate commit for the merge.
Advanced git users: do not delete the branch after merging.
2 Add Increment: A-Jar
Note that if A-Jar
increment does not require any code changes, you may tag the commit at which this was achieved as A-Jar
(even if that commit has another tag already). Otherwise, tag the latest commit as usual. In both cases, push the tag to the fork.