
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
initcommand, creating a.chronosdirectory to track changes. - Add Files: Stage your changes with the
addcommand. Chronos securely stores the content by hashing it using SHA-1, ensuring each version is unique. - Commit Changes: Save your progress with the
commitcommand. Chronos stores a timestamped snapshot of your changes, along with a custom message to describe your work. - View Commit History: Use the
logcommand to view a chronological list of your commits, helping you track the evolution of your project. - Diff Between Commits: The
showcommand lets you compare changes between commits, highlighting additions, removals, and modifications.
