Marking the Milestones
Before you begin, you'll find a Git repository named "chrono-codex" in your ~/project
directory. This repository contains the development history of the Chrono Codex project, with several commits representing different stages of development. Your task is to properly tag these milestones to create a clear historical record.
Initial Repository State
Before you start the challenge, here's what you need to know about the current state of the "chrono-codex" repository:
- The repository is located in
~/project/chrono-codex
.
- It contains a
README.md
file and a time_machine.js
file.
- The repository has the following commit history (from oldest to newest):
- Initial commit (adds README.md)
- Add initial time machine structure
- Add initial time flux capacitor
- Implement temporal navigation
- Add paradox resolver
- Finalize time travel function
You can view this history by running git log --oneline
in the repository.
Tasks
- Create a lightweight tag named
alpha-prototype
for the commit that added the first functional component of the time machine (commit message: "Add initial time flux capacitor").
- Create an annotated tag named
v1.0-release
for the latest commit, marking it as the first stable release of the Chrono Codex.
Requirements
- All operations should be performed in the
~/project/chrono-codex
directory.
- The annotated tag
v1.0-release
must include a message describing it as the "First stable release of the Chrono Codex".
- Use the correct commit hash for the
alpha-prototype
tag (you'll need to find this in the Git log).
Example
After completing the tasks, running git tag -n
should produce output similar to this:
alpha-prototype Add initial time flux capacitor
v1.0-release First stable release of the Chrono Codex