This level to show several things and to continue getting people comfortable with adding/modifying and committing files. It also introduces the command for branching.
For branching, we'll need to specify
The idea behind the level is to use branches to tell two stories and then try merging them together to get merge conflicts. This is similar to #250, but the storytelling is done by the user.
The level would go something like this:
Overview: Using one file and two branches, tell about a character's adventures, then merge them together, resolving the merge conflicts so you can read the whole story. One adventure can go on master and the other adventure can be on another branch
- In one sentence, and on one line, start telling a story, introduce the main character
- In one sentence, and on one line, tell about one of the main character's adventures
- In one sentence, and on one line, tell about another one of the main character's adventures
- Switch back to the master branch and merge in the changes from the two adventures.
- Deal with the merge conflicts by accepting both changes, which should tell the complete story.
git gud status
Initial Commit
story.txt:
Once upon a time, there was a grumpy old troll.
Add an Adventure to the Story
story.txt:
Once upon a time, there was a grumpy old troll.
He lived under a bridge.
Add a Second Adventure and an Ending
story.txt:
Once upon a time, there was a grumpy old troll.
He was having a bad hair day.
Merge in the second adventure
story.txt:
Once upon a time, there was a grumpy old troll.
He lived under a bridge.
He was having a bad hair day.
This level to show several things and to continue getting people comfortable with adding/modifying and committing files. It also introduces the command for branching.
For branching, we'll need to specify
The idea behind the level is to use branches to tell two stories and then try merging them together to get merge conflicts. This is similar to #250, but the storytelling is done by the user.
The level would go something like this:
Overview: Using one file and two branches, tell about a character's adventures, then merge them together, resolving the merge conflicts so you can read the whole story. One adventure can go on master and the other adventure can be on another branch
git gud status