Skip to content

therealharshit/Sweet-vcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sweet-vcs: a verison control system(vcs)

Description

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.

Features

  • 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.

Installation

To install Sweet-vcs, follow these steps:

  1. Clone the repository:
    git clone https://github.com/therealharshit/Sweet-vcs.git
    
  2. Navigate to the project directory:
    cd Sweet-vcs
    
  3. Install the necessary dependencies:
    npm install
    
  4. Compile the code
    npx tsc
    
  5. Run the project
    npm run start
    

Usage

To use Sweet-vcs, follow these steps:

  1. Initialize a new repository:
    node ./Sweet.js init
    
  2. Add files to the repository:
    node ./Sweet.js add <file_name>
    
  3. Commit changes:
     node ./Sweet.js commit "Commit message"
    
  4. Show changes:
    node ./Sweet.js show <commitHash>
    
  5. Log data:
    node ./Sweet.js log
    

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

My own version control system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published