Submit, amend, and review Gerrit changes using git-review CLI. Use when asked to submit a patchset, download a change, rebase a change request, check CR status, or manage code reviews in Gerrit.
94
Quality
94%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
# Re-run setup
git review -s
# Force setup (fixes common issues)
git review -s --force
# Verbose output for debugging
git review -v
# Check configuration
cat .gitreview
git config -l | grep gitreview
# Test SSH connection
ssh -p 29418 youruser@review.example.com gerrit version"We don't know where your gerrit is"
git review -s # Run setup
# Or create .gitreview file manually"fatal: 'gerrit' does not appear to be a git repository"
git review -s # Setup remote
git remote -v # Verify gerrit remote exists"Permission denied (publickey)"
# Add SSH key to Gerrit (Settings > SSH Keys)
# Or configure username:
git config --global gitreview.username youruserChange-Id missing
# Install commit-msg hook
curl -Lo .git/hooks/commit-msg \
https://review.example.com/tools/hooks/commit-msg
chmod u+x .git/hooks/commit-msg
# Or let git-review install it
git review -sInstall with Tessl CLI
npx tessl i odyssey4me/gerrit