staminigit
v1.0.2
Published
[](https://www.npmjs.com/package/staminigit) [](https://www.npmjs.com/package/staminigit) [add <file>→ Stage a file for commitcommit "<message>"→ Commit staged files with a messagestatus→ Show staged files and last commit inforevert <commitId>→ Revert to a specific commitpush→ Push commits to AWS S3 bucket (requires AWS setup)pull→ Pull commits from AWS S3 bucket (requires AWS setup)
📦 Installation
Install globally from npm:
npm install -g staminigitCheck version:
mygithub --version🚀 Usage
Local commands (work out-of-the-box ✅)
mygithub init
mygithub add index.js
mygithub commit "Initial commit"
mygithub status
mygithub revert <commitId>Cloud commands (require AWS setup ⚠️)
mygithub push
mygithub pull⚠️ To use cloud commands, create a .env file with your AWS credentials:
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret
AWS_REGION=your-region
S3_BUCKET=your-bucket-name📂 Example Workflow
mkdir demo
cd demo
mygithub init
echo "Hello" > hello.txt
mygithub add hello.txt
mygithub commit "first commit"
mygithub status
mygithub push # if AWS is configured🛠 Requirements
- Node.js (>= 14)
- npm
- AWS S3 account (only if using push/pull)
📜 License
MIT © 2025 Prabhat
