DevDiary is a simple, terminal-based version control system inspired by GitHub. It provides essential functionalities to manage and track changes in your projects.
- init: Initialize a new DevDiary repository.
- add files: Add files to be tracked by DevDiary.
- commit : Save snapshots of your project with a descriptive message.
- log: View the commit history of your repository.
- show : Display detailed information about a specific commit.
To install DevDiary, follow these steps:
-
Clone the repository:
git clone <repository-url>
-
Initialize the project:
npm init -y
After installation, you can start using DevDiary with the following commands:
Initialize a new DevDiary repository in your project directory using the bash terminal:
./DevDiary.mjs init
Add files to be tracked by DevDiary using the bash terminal:
./DevDiary.mjs add <sample.txt>
Commit changes with a descriptive message using the bash terminal:
./DevDiary.mjs commit "<message>"
View the commit history of your repository using the bash terminal:
./DevDiary.mjs log
Display detailed information about a specific commit using the bash terminal:
./DevDiary.mjs show "<Hashed Commit Object ID>"