groot-vcs
v1.0.1
Published
A custom version control system implemented in JavaScript and an better updated readme file.
Downloads
2
Maintainers
Readme
Groot: A Custom Git Software Implementation
Table of Contents
Introduction
Groot is a custom version control system implemented in JavaScript, designed to help users understand the internals of Git by providing core functionalities such as adding files to the staging area, committing files, viewing commit logs, and checking commit differences.
Features
- Add Files to Staging Area: Easily add files to the staging area.
- Commit Files: Commit files from the staging area to the repository.
- Groot Log: View a log of all commits.
- Groot Diff: Check differences between commits.
- User-Friendly Interface: Developed with JavaScript for ease of use.
Installation
To get started with Groot, follow these steps:
Clone the repository:
git clone https://github.com/YourUsername/Groot.git
Navigate to the project directory:
cd Groot
Install the required dependencies:
npm install npm install chalk npm install commander npm install diff
Usage
Adding Files to Staging Area
./Groot.js add
commiting Files from Staging Area
./Groot.js commit <filename>
show commit log
./Groot.js log
show commits diffrence
./Groot.js diff
show status
./Groot.js status