Thanks for contributing to worktree-purge.
git clone https://github.com/leboiko/worktree-purge.git
cd worktree-purge
cargo buildRun the usual checks:
cargo fmt --all
cargo clippy --all-targets -- -D warnings
cargo testIf your change touches packaging, releases, or dependency policy, also run:
cargo deny check- Keep the scope tight
- Add or update tests when behavior changes
- Update the README when user-facing behavior changes
- Prefer repo patterns over introducing a new style or abstraction
- Scanner correctness (nested repos, submodules, permission-denied dirs)
- Git status edge cases (dirty/unpushed detection, detached HEAD, no upstream)
- TUI rendering and snapshot tests
- Cross-platform disk-usage accuracy (Linux/macOS
st_blocksvs Windows) - Purge safety (confirmation flows, failure handling,
git worktree prune)
Use the issue templates when possible. For security-sensitive issues, use the process in SECURITY.md.