git-review is a command-line tool that simplifies submitting code changes to Gerrit code review. Version 2.5.0, released 2024-04-15, supports Python >=3.6. It wraps git operations like push, rebase, and review requests. Maintenance mode with low release cadence.
pip install git-reviewVerified import paths — ran on the pinned version, not inferred.
Programmatic entry point for git-review. The CLI tool is invoked via 'git review' command, but the Python package can be accessed via 'git_review' module.
After installing, ensure 'git-review' executable is in PATH, and use 'git review' (with space) as a git subcommand.
Upgrade to Python 3.8+ for compatibility with future versions.
Update configuration: use 'git config --global gitreview.*' instead of .gitreview file.
Change to a Git repository directory before calling git review.