
Chronos: A Lightweight Version Control System
In this release, I've implemented the core features of Chronos, a simplified version control system designed to offer essential Git-like functionality while being easy to understand and extend. Chronos is ideal for those who want to grasp the basics of version control or need a lightweight tool for smaller projects.
Key Features
- Initialize a Repository: Easily set up a new Chronos repository with the
init
command, creating a.chronos
directory to track changes. - Add Files: Stage your changes with the
add
command. Chronos securely stores the content by hashing it using SHA-1, ensuring each version is unique. - Commit Changes: Save your progress with the
commit
command. Chronos stores a timestamped snapshot of your changes, along with a custom message to describe your work. - View Commit History: Use the
log
command to view a chronological list of your commits, helping you track the evolution of your project. - Diff Between Commits: The
show
command lets you compare changes between commits, highlighting additions, removals, and modifications.