# git-statuses
[](https://crates.io/crates/git-statuses)
[](https://github.com/bircni/git-statuses/blob/main/LICENSE)
[](https://github.com/bircni/git-statuses/actions/workflows/ci.yml)
A command-line tool to display the status of multiple Git repositories in a clear, tabular format.
## Features
- Scans directories recursively for Git repositories
- Displays status (clean/dirty, branch, etc.) in a table
- Fast and user-friendly CLI
- Useful for developers managing many repositories

## Installation
You need [Rust](https://www.rust-lang.org/tools/install) installed.
```sh
cargo install git-statuses
```
Installation with `cargo-binstall`:
```sh
cargo binstall git-statuses
```
Or clone and build manually:
```sh
git clone https://github.com/bircni/git-statuses.git
cd git-statuses
cargo build --release
```
## Usage
Run in any directory to scan for Git repositories:
```text
Usage: git-statuses [OPTIONS] [DIR]
Arguments:
[DIR] Directory to scan [default: .]
Options:
-a, --all Recursively scan all subdirectories
-r, --remote Show remote URL
-h, --help Print help
-V, --version Print version
```
## Output
The tool prints a table with the following columns:
- Path
- Branch
- Status (clean/dirty)
- Ahead/Behind
## Development
- Requires Rust 1.85+ (edition 2024)
- Linting: `cargo clippy`
- Tests: `cargo test`
## Contributing
Contributions are welcome! Please open issues or pull requests.