gritt
v1.0.0
Published
A VCS tool inspired by Git with an Electron-based GUI
Downloads
9
Readme
Grit
Grit is a basic version control system written in Node.js. It allows you to track changes to your files, commit them, and view the history of commits, similar to Git. Grit provides basic functionality like initializing a repository, adding files to a staging area, committing changes, logging commits, and showing the differences between commits.
Features
Initialize a new repository with .grit folder -Add files to a staging area -Commit changes with a message -View a log of commits -Show differences between committed files
Prerequisites
- Node.js (Ensure you have Node.js installed on your machine)
- npm (Node Package Manager)
Setup
Clone or download the repository.Navigate to the project directory: cd /path/to/Grit
Install the dependencies: npm install
Ensure that the commander, chalk, and diff packages are installed. If not, you can install them manually by running: npm install commander chalk diff
Make the script executable (optional): If you're on a Unix-like system (Linux or macOS), you can make the script executable: chmod +x grit.mjs