CLI tool that wrap git, by chaining git commands for a faster workflow, when you just want to push or version bump code
|
All checks were successful
Build and Release CLI / build-and-release (push) Successful in 9s
|
||
|---|---|---|
| .forgejo/workflows | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .oxfmtrc.json | ||
| .oxlintrc.json | ||
| btca.config.jsonc | ||
| bun.lock | ||
| bunfig.toml | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
yeet
yeet is a tiny git helper CLI for fast commit/push and semver tag bumps.
Usage
Commit and push changes
yeet "your commit message"
This command will:
- Run
git add . - Show staged diff stats with
git diff --stat --staged - Wait for Enter before committing and pushing (
Ctrl+Ccancels and unstages viagit restore --staged .) - Run
git commit -m "..."and thengit push
Bump and push version tags
yeet patchyeet minoryeet major
Each version command finds the latest semver tag matching vX.Y.Z, increments patch/minor/major,
shows the plan, waits for Enter confirmation, then runs:
git tag -a <next-tag> -m '<next-tag>'git push origin --tags
If no semver tags exist yet, it starts from:
- patch:
v0.0.1 - minor:
v0.1.0 - major:
v1.0.0
Development setup
bun install
Build a local binary:
bun run build
./out/yeet --help