1.0.1 • Published 2 years ago
groot-vcs v1.0.1
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.gitNavigate to the project directory:
cd GrootInstall the required dependencies:
npm install npm install chalk npm install commander npm install diff
Usage
Adding Files to Staging Area
./Groot.js addcommiting Files from Staging Area
./Groot.js commit <filename>show commit log
./Groot.js logshow commits diffrence
./Groot.js diffshow status
./Groot.js status