Room 2: The Commit Conundrum
Workshop Resources
Room 2: The Commit Conundrum
As you enter the second room, snippets of code float in the air. A terminal in the center flickers with a message: “Bring order to chaos. Commit your changes to proceed.”
Your Mission
- Create a new file called
solution.md
in your local repository. - Add the secret code from Room 1 to this file.
- Stage and commit your changes.
Instructions
- In your terminal, ensure you’re in the
escape-room
directory. - Create the file and add the code:
echo "Secret Code: GITHUB_BASICS_101" > solution.md
- Stage and commit your changes:
git add solution.md
git commit -m "Add solution for Room 1"
Tip: Always write clear and descriptive commit messages. They help you and others understand the history of your project.
When you’ve made your commit, enter the commit message you used:
[Input field for commit message]
Note: The actual input field and encryption functionality would need to be implemented separately, as Hugo doesn’t provide this out of the box.