Repository navigation
Rasp - Remote Access Storage Pool
Rasp is a lightweight version control system designed for efficient local and remote file tracking. It allows developers to manage changes, commit updates, and integrate with Azure for cloud storage.
Installation
Windows
-
Download and Extract
- Download the compiled
rasp.exefile and move it toC:\Program Files\RASP\.
- Download the compiled
-
Add to System Path
- Open
System Properties(Win + R, typesysdm.cpl, pressEnter). - Go to the Advanced tab and click Environment Variables.
- Under System Variables, find
Path, click Edit, and add:C:\Program Files\Rasp\ - Click OK and restart the command prompt.
- Open
Linux/Mac
- Move the executable to
/usr/local/bin/:sudo mv rasp /usr/local/bin/
- Make it executable:
chmod +x /usr/local/bin/rasp
Now you can use rasp globally
Usage
rasp <command> [options]
Available Commands
Repository Management
init- Initialize a new Rasp repositorydrop- Delete the current Rasp repository
File Operations
add- Add a file to the staging areacommit- Commit staged changes with a messagerevert- Revert a specific file in the staging areamv- Move a filecp- Copy a filedelete, -d- Delete a file, description, or branch
Branching
branch- Create a new branchcheckout- Switch to a specified branchmerge- Merge a specified branch into the current branch
Remote Operations
clone- Clone a repositorypush- Upload files to the Azure serverpull- Download files from the Azure serverset- Configure the Azure connection string for remote storage
Information & Logs
logs- Show the history of repository actionsstatus- Show the current repository statushistory- Show current branch's commit history
Options & Flags
-h, --help- Show help for a command-v, --version- Display the current version of Rasp-m- Specify a commit message-p- Set user profile details-i- Activate shell mode-o- Deactivate shell mode-l- List existing branches-rb, rollback- Roll back the latest commit
Examples
Initialize a new repository:
rasp init
Add and commit files:
rasp add myfile.txt
rasp commit -m "Initial commit"
Push changes to Azure:
rasp push
Rollback the latest commit:
rasp rollback
For more details, run:
rasp <command> --help
License
Rasp is an open-source project. You are free to modify and distribute it under the MIT License.
Author
Created by Kisetsu.
Contributing
Feel free to contribute by submitting pull requests, reporting issues, or suggesting improvements.