| Crates.io | git-report |
| lib.rs | git-report |
| version | 1.1.0 |
| created_at | 2025-08-19 22:00:24.323429+00 |
| updated_at | 2025-09-21 21:30:52.893681+00 |
| description | A CLI tool to generate detailed commit reports from git repositories. |
| homepage | |
| repository | https://github.com/fresh-milkshake/git-report |
| max_upload_size | |
| id | 1802556 |
| size | 83,942 |
A command-line tool that generates detailed commit reports from git repositories. It allows you to select a range of commits and creates a comprehensive text report with all commit details.
ollama pull gemma3ollama pull gemma3:270m (291MB)ollama pull gemma3:4b (3.3GB)cargo install git-report
git clone <repository-url>
cd git-report
cargo build --release
The binary will be available at target/release/git-report.exe (Windows) or target/release/git-report (Linux/macOS).
Run the tool in a git repository to start the interactive commit selection:
git-report
This will:
Usage: git-report.exe [OPTIONS]
Options:
-o, --output <OUTPUT> Output file path (default: git-report-{timestamp}.txt)
-f, --from <FROM> From commit hash or reference
-t, --to <TO> To commit hash or reference
-l, --limit <LIMIT> Number of commits to show in selection [default: 50]
--ai Generate AI-enhanced report using local Ollama
--model <MODEL> Ollama model to use for AI generation [default: gemma3]
-h, --help Print help
-V, --version Print version
# Generate report for specific commit range
git-report --from abc1234 --to def5678 --output my-report.txt
# Show more commits in selection
git-report --limit 100
# Use partial commit hashes
git-report --from abc1 --to def5
# Generate AI-enhanced report
git-report --ai --from abc1234 --to def5678
# Generate AI-enhanced report with custom output
git-report --ai --output my-ai-report.txt
# Generate AI-enhanced report with specific model
git-report --ai --model llama3.2:3b
# Generate AI-enhanced report with custom model and output
git-report --ai --model qwen3 --output my-report.txt
The generated report includes:
When using the --ai flag, the entire report is generated by AI using the specified Ollama model. The AI creates a complete, professional report with the following structure:
The AI report uses professional language, avoids repetition, and explains technical changes in business terms when possible. It's designed to be concise yet comprehensive, and suitable for not tech-savvy people.
You can specify which Ollama model to use with the --model flag. The default model is gemma3. Make sure you have the specified model installed in Ollama.
This commit range includes updates to the project’s report generation and documentation. We’ve added checks to ensure the ‘from’ and ‘to’ commit ranges are correctly included in the generated reports, and enhanced the installation instructions in the README. Key changes include: a new function to check the Ollama server, improved LLM prompt formatting, inclusion of from and to commit details in the reports, and updated installation instructions for Cargo.
This project is licensed under the MIT License. See the LICENSE file for details.