Skip to content

basic version control system (VCS) built using JavaScript

Notifications You must be signed in to change notification settings

anuja-rahul/kit-vcs-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kit

Kit is a basic version control system (VCS) built using JavaScript. It provides essential functionalities to manage and track changes in your projects.

📚 Table of Contents

🚀 Features

  • 🆕 Initialize a new repository
  • 📂 Track changes to files
  • 📝 Manage commits and logs
  • 🔍 Show differences between commits
  • 📜 View the content of a specific commit

🏁 Getting Started

To get started with Kit, follow these steps:

  1. Install Kit: Follow the installation instructions below to clone the repository and install dependencies.
  2. Initialize a Repository: Use the ./Kit.mjs init command to create a new repository.
  3. Track Changes: Add files to the repository using the ./Kit.mjs add <file> command.
  4. Commit Changes: Commit your changes with a message using the ./Kit.mjs commit "Your commit message" command.
  5. View Logs and Differences: Use ./Kit.mjs log to view commit logs and ./Kit.mjs show <commitHash> to see differences between commits.

By following these steps, you can start managing your project's version control with Kit.

📦 Installation

To install Kit, clone the repository and install the dependencies:

git clone https://github.com/anuja-rahul/kit-vcs-js.git
cd kit-vcs-js
npm install

🛠️ Usage

🏁 Initialize a Repository

To initialize a new Kit repository, run the following command:

./Kit.mjs init

This will create a .kit directory in your project with the necessary files and directories.

📈 Track Changes

To track changes in your project, use the following command:

./Kit.mjs add <file>

💾 Commit Changes

To commit changes, use the following command:

./Kit.mjs commit "Your commit message"

📜 View Commit Logs

To view the commit logs, use the following command:

./Kit.mjs log

🔍 Show Commit Differences

To show the differences between commits, use the following command:

./Kit.mjs show <commitHash>

📄 License

This project is licensed under the MIT License.

About

basic version control system (VCS) built using JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published