CLI tool that wrap git, by chaining git commands for a faster workflow, when you just want to push or version bump code
- TypeScript 100%
|
Some checks failed
Build and Release CLI / build-and-release (push) Has been cancelled
|
||
|---|---|---|
| .forgejo/workflows | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .oxfmtrc.json | ||
| .oxlintrc.json | ||
| bun.lock | ||
| bunfig.toml | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
yeet
Tiny git helper CLI for fast commit/push and semver tag bumps.
Usage
Commit and push
yeet "your commit message"
Runs git add ., shows staged diff stats, waits for confirmation, then commits and pushes. Press Ctrl+C to cancel and unstage.
Bump and push tags
yeet patch
yeet minor
yeet major
Finds the latest vX.Y.Z tag, bumps the requested part, asks for confirmation, then creates and pushes an annotated tag.
If package.json exists, yeet also updates its version, commits it as Release <next-tag>, and pushes the release commit before tagging. Without package.json, it tags the current HEAD.
Initial tags when none exist:
patch→v0.0.1minor→v0.1.0major→v1.0.0
Development
bun install
bun run build
./out/yeet --help