slot-vcs v1.1.3
Slot-Version Control System
Slot-VCS (referred to as Slot) is an NPM package that provides a version control system designed for simplicity and efficiency. It allows users to track file changes, commit updates, and collaborate using remote repositories hosted on CodeSlot.
All repository data is securely stored in an AWS S3 bucket, ensuring reliability and scalability.
You can view your repository on CodeSlot, see all the commits, and check how your repository looked before at any point in time.
Compatibility
Note: Slot-VCS is compatible only with Windows, as it relies on inode, which is not fully supported on other operating systems.
Versions for other operating systems are coming soon.
Installation
Slot-VCS must be installed globally on your system. To install, run
npm install -g slot-vcs
Getting Started
After installation, create an account on CodeSlot, which stores your repositories. Once registered, you can initialize a repository and start tracking files.
slot init # Initialize a new repository
Commands
Slot-VCS provides various commands to manage your repository. Here’s a list of the main commands:
Initialize Repository
slot init
Initializes a new repository in the current directory.
Add Files to Staging
slot add <file>
Stages a specific file for commit.
slot add .
Stages all modified and new files.
Commit Changes
slot commit -m "Your commit message"
Commits the staged files with a message.
Push Commits
slot push
Pushes committed changes to the remote repository on CodeSlot.
Pull Changes
slot pull
Pulls the latest changes from the remote repository on CodeSlot.
Clone Repository
slot clone <url>
Clones a repository from the specified URL.
View Commit History
slot log
Displays the commit history of the repository.
Revert to a Specific Commit
slot revert <commitID>
Reverts the repository to a specified commit.
Manage Remote Repositories
slot remote add <url>
Adds a new remote repository.
slot remote remove
Removes the existing remote repository.
slot remote
Lists the remote repository.
Authenticate User
slot auth
Authenticates the user with their credentials on CodeSlot.
Help
To view the list of available commands, run:
slot --help
View Your Repository on CodeSlot
License
Slot-VCS is open-source and available under the MIT License.