{"id":26646232,"url":"https://github.com/gifflet/git-review","last_synced_at":"2026-04-30T19:31:58.140Z","repository":{"id":284239970,"uuid":"954092543","full_name":"gifflet/git-review","owner":"gifflet","description":"🚀 Effortless Git code reviews – compare commits and analyze diffs.","archived":false,"fork":false,"pushed_at":"2025-04-23T20:35:04.000Z","size":54,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T11:48:38.566Z","etag":null,"topics":["cli","code-reviews","dev-tool","developer-tools","git","git-diff","git-review","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gifflet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-24T14:52:13.000Z","updated_at":"2025-04-23T20:35:04.000Z","dependencies_parsed_at":"2025-04-23T21:21:48.619Z","dependency_job_id":"4c1f55b7-b77a-4fbd-9806-5879b56b8d0c","html_url":"https://github.com/gifflet/git-review","commit_stats":null,"previous_names":["gifflet/git-review"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gifflet/git-review","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgit-review","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgit-review/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgit-review/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgit-review/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gifflet","download_url":"https://codeload.github.com/gifflet/git-review/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fgit-review/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32475191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","code-reviews","dev-tool","developer-tools","git","git-diff","git-review","golang"],"created_at":"2025-03-24T22:56:51.328Z","updated_at":"2026-04-30T19:31:58.128Z","avatar_url":"https://github.com/gifflet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003cimg src=\"docs/logo.png\" width=\"256\" alt=\"Git Review Logo\"/\u003e\n  \u003c/picture\u003e\n\n  # Git Review 🚀\n\n  ![Go Version](https://img.shields.io/badge/Go-1.20+-blue)\n  ![License](https://img.shields.io/badge/License-MIT-green)\n\u003c/div\u003e\n\n## Overview\n\nGit Review is a powerful command-line tool designed to streamline code reviews by helping developers easily extract and analyze changes between Git commits.\n\n## Prerequisites 🔍\n\n- Git (version 2.25 or higher)\n- Go (version 1.20 or higher)\n- Operating Systems: Windows, macOS, Linux\n\n## Installation 🛠️\n\nTo install Git Review, run:\n\n```bash\ngo install github.com/gifflet/git-review@latest\n```\n\nThe binary will be placed in:\n- **Linux/macOS**: `$HOME/go/bin/git-review`\n- **Windows**: `%USERPROFILE%\\go\\bin\\git-review.exe`\n\n### Configure Git Review as a Global Command\n\nAfter installation, you must configure `git-review` as a global Git command for easier usage:\n\n**Linux/macOS**:\n```bash\ngit config --global alias.review '!\"$HOME/go/bin/git-review\"'\n```\n\n**Windows**:\n```powershell\ngit config --global alias.review \"!%USERPROFILE%/go/bin/git-review.exe\"\n```\n\nOnce configured, you can run `git review` from anywhere within your repositories.\n\n## Quick Start 🚀\n\n```bash\n# Basic usage\ngit review -i \u003cinitial_commit\u003e\n```\n\n## Features ✨\n\n- 📂 Compare two commits and get a comprehensive list of modified files\n- 💾 Save diffs of modified files to a specified output directory\n- 🌿 Flexible branch comparison with optional main branch filtering\n\n## Usage 📚\n\n### Basic Command Structure\n\n```bash\ngit review -i \u003cinitial_commit\u003e [-f \u003cfinal_commit\u003e] [options]\n```\n\n### Available Options\n\n- `-i, --initial \u003ccommit\u003e`: **Required**. Starting commit hash for comparison\n- `-f, --final \u003ccommit\u003e`: **Optional**. Ending commit hash (defaults to `HEAD`)\n- `-m, --main-branch \u003cbranch_name\u003e`: **Optional**. Main branch for refined comparisons\n- `-p, --project-path \u003cpath\u003e`: **Optional**. Project directory path (defaults to current directory)\n- `-o, --output-dir \u003cpath\u003e`: **Optional**. Output directory for diff files (defaults to `git-review`)\n\n### Detailed Usage Scenarios\n\n#### 1. Basic Commit Comparison\n```powershell\ngit review -i c9286370\n```\n\n#### 2. Comparing Two Specific Commits\n```powershell\ngit review -i c9286370 -f 78094299\n```\n\n#### 3. Comparing with Main Branch Context\n```powershell\ngit review -i c9286370 -f 78094299 -m main\n```\n\n#### 4. Specifying Custom Project and Output Paths\n```powershell\ngit review -i c9286370 -f 78094299 \\\n  -m main \\\n  -p \"C:\\Projects\\MyRepo\" \\\n  -o \"./review-output\"\n```\n\n## Troubleshooting 🛠\n\n### Common Issues\n\n- **Permission Denied**: Ensure you have read/write permissions in the project directory\n- **Commit Not Found**: Verify commit hashes are correct and exist in your repository\n- **Large Repository**: For repositories with extensive history, the process might take longer\n\n## Performance Considerations ⚡\n\n- Recommended for repositories up to 10GB in size\n- Processing time increases with number of files and commit complexity\n- Large binary files might slow down diff generation\n\n## Contributing 🤝\n\nWe welcome contributions! Please follow these steps:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-improvement`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-improvement`)\n5. Open a Pull Request\n\n## License 📝\n\nThis project is licensed under the MIT License. See [LICENSE](LICENSE) for details.\n\n---\n\n**Happy Reviewing! 🎉**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgifflet%2Fgit-review","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgifflet%2Fgit-review","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgifflet%2Fgit-review/lists"}