Sweet-vcs is a version control system developed using JavaScript. It aims to provide a simple and intuitive interface for managing project versions and collaborating with team members. The project is designed to be lightweight and easy to integrate into existing workflows.
- Version Tracking: Keep track of changes made to files over time.
- Adding files: Add files for sweet to track.
- Commit files: Commiting files with commit message.
- Show changes: Show what has changed in the files.
- Log data: Log all commit data with necessary details.
To install Sweet-vcs, follow these steps:
- Clone the repository:
git clone https://github.com/therealharshit/Sweet-vcs.git - Navigate to the project directory:
cd Sweet-vcs - Install the necessary dependencies:
npm install - Compile the code
npx tsc - Run the project
npm run start
To use Sweet-vcs, follow these steps:
- Initialize a new repository:
node ./Sweet.js init - Add files to the repository:
node ./Sweet.js add <file_name> - Commit changes:
node ./Sweet.js commit "Commit message" - Show changes:
node ./Sweet.js show <commitHash> - Log data:
node ./Sweet.js log
This project is licensed under the MIT License. See the LICENSE file for more details.