Kit is a basic version control system (VCS) built using JavaScript. It provides essential functionalities to manage and track changes in your projects.
- 🆕 Initialize a new repository
- 📂 Track changes to files
- 📝 Manage commits and logs
- 🔍 Show differences between commits
- 📜 View the content of a specific commit
To get started with Kit, follow these steps:
- Install Kit: Follow the installation instructions below to clone the repository and install dependencies.
- Initialize a Repository: Use the
./Kit.mjs init
command to create a new repository. - Track Changes: Add files to the repository using the
./Kit.mjs add <file>
command. - Commit Changes: Commit your changes with a message using the
./Kit.mjs commit "Your commit message"
command. - 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.
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
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.
To track changes in your project, use the following command:
./Kit.mjs add <file>
To commit changes, use the following command:
./Kit.mjs commit "Your commit message"
To view the commit logs, use the following command:
./Kit.mjs log
To show the differences between commits, use the following command:
./Kit.mjs show <commitHash>
This project is licensed under the MIT License.