commit-releaser-minco
v1.0.4
Published
Commit releaser automatic push to Github with CLI
Maintainers
Readme
🚀 Commit Releaser
✨ Commit Releaser — Automatic Git commit, versioning, and push to GitHub with a single CLI command.
📦 Description
Commit Releaser is a simple but powerful CLI tool that helps you automate your Git commit and release workflow. With just one command, it can:
- Stage and commit your changes
- Optionally bump the version (
patch,minor, ormajor) - Automatically push to your desired Git branch
⚠️ Prerequisites
Before using this tool, make sure:
- You are inside a Git repository
- You have at least one remote (e.g.,
origin) - You are on a branch (e.g.,
mainordev)
📘 Example: Setting Up Git
# Initialize Git repository (if not done yet)
git init
# Add your files
git add .
# Commit initial work
git commit -m "Initial commit"
# Create a branch (if not yet)
git branch -M main
# Add a remote (example with GitHub)
git remote add origin https://github.com/yourusername/your-repo.git
# Push for the first time
git push -u origin mainOnce that's set up, you're ready to use commit-releaser-minco.
⚙️ Installation
npm install --save-dev commit-releaser-minco🚀 Usage
Run via npx script or directly via CLI:
npx commit-releaser-minco "Your commit message"This will:
- Stage changes
- Commit them
Push changes to remote:
npx commit-releaser-minco "Your commit message" pushPush and bump version (patch/minor/major):
npx commit-releaser-minco "Your commit message" push patch
npx commit-releaser-minco "Your commit message" push minor
npx commit-releaser-minco "Your commit message" push major📘 Examples
| Command | Action |
| ---------------------------------------------- | ------------------------------------ |
| npx commit-release-minco "fix: corrected typo" | Commit only |
| npx commit-release-minco "feat: new feature" push | Commit and push |
| npx commit-release-minco "release: v1.0.1" push patch | Commit, bump patch version, and push |
🛠️ Configuration
By default, the script:
- Uses
mainas the branch - Uses
originas the remote
You can modify these defaults in the script if needed.
📝 License
ISC License © 2025
Made with ❤️ by Devs (Haydar)
