sluuz
Fast, colorized CLI for searching git history and managing many git repos at once.
sluuz walks every repository under a directory and works across all branches
in parallel — so you can hunt a string through history, audit for leaked secrets,
or check the state of 30 repos with a single command.
Install
Update to the latest version:
Commands
search — find where a string entered or left history
Uses git's pickaxe (git log -S) across all branches, then shows the matching
commit, the file(s) the change touched, and the branches that contain it.
Because it's pickaxe-based, it also finds matches inside binary/encrypted blobs.
Matching is case-sensitive (pickaxe is precise by nature).
scan — audit repos for leaked secrets
Sweeps every commit on every branch for a list of sensitive terms (case-insensitive) and reports each hit with its commit, branch, and file. Catches secrets committed in binary/encrypted files too.
status — working-tree state across all repos
A dashboard of every repo under a path: current branch, uncommitted files, and how far ahead/behind its upstream it is.
Legend: ✚ uncommitted · ↑ unpushed commits · ↓ unpulled commits
fetch — fetch (and optionally fast-forward) every repo
Fetches and prunes all repos in parallel. With --pull it additionally runs
git pull --ff-only, which fast-forwards safely and refuses rather than merging
when it can't — so it never creates merge commits or conflicts.
branches — find merged, deletable branches
Lists local branches already merged into your current branch (safe to delete), with how long since each was last touched and a ready-to-paste delete command.
Common options
Most commands accept:
- a
pathargument (defaults to.) -d, --depth <N>— how many directory levels deep to look for repos (default 3)
License
AGPL-3.0-only