Bash · git

284 scripts

Small, useful programs people actually use. Copy, read the source, ship it.

Bash × git × verified only last 30 days Sort: Most installed ▾
bash v1.4.2 · updated 2d

git-stash-diff — preview a stash without applying it

Color-diffs any stash against current HEAD without touching the working tree. Useful when you can't remember what you stashed three weeks ago.

$ ins install git-stash-diff copy
by @chitra ⤓ 8,402 ★ 612
bash v0.9.1 · updated 6d

prune-merged — delete every local branch already merged into main

Walks `git branch --merged`, skips protected names, and prompts once per batch. Dry-run mode lists what it would delete.

$ ins install prune-merged copy
by @oss-shu ⤓ 6,118 ★ 482
bash v2.0.0 · updated 11h

gh-pr-since — list PRs you merged this week

Wraps `gh pr list` with sensible defaults for weekly reviews. Outputs Markdown ready to paste into a standup doc.

$ ins install gh-pr-since copy
by @gabrielaboy ⤓ 4,902 ★ 388
bash v1.1.0 · updated 1w

git-rebase-onto-default — rebase a feature branch onto main or master, whichever exists

Detects the default branch from the remote rather than guessing. Handles detached HEAD gracefully.

$ ins install git-rebase-onto-default copy
by @maeve.codes ⤓ 3,610 ★ 271
bash v0.6.4 · updated 3d

conventional-commit — interactive prompt for conventional commit messages

Asks type, scope, subject, body, footer. Generates the commit and runs it. Reads `.commitlintrc` if present.

$ ins install conventional-commit copy
by @jasper ⤓ 3,202 ★ 244
bash v1.0.0 · updated 2w

worktree-here — git worktree, but it remembers which dir you wanted

Sets up a sibling-folder worktree per branch with `.envrc` carried over. Adds a `wtr` shortcut to jump between them.

$ ins install worktree-here copy
by @nikhil ⤓ 2,809 ★ 199
showing 1–6 of 284