A Git Gerrit command-line client.
push: Push your current branch to Gerritcheckout CL: Checkout a CL by numberfetch CL: Fetch a CL by numberview [CL]: View a CL, by default the current CL, in your web browserquery [--mine|--needs-review] [QUERY]: Search for CLs
One of Gerrit's best features is its native support for stacks of CLs. However,
it's not always easy to keep stacks up to date. git-gr provides a number of
tools to help:
restack: Restack CLs, updating CLs against the base branch and rebasing subsequent CLs on previous ones.restack push: Push a stack of CLs to Gerrit after restackingrestack this: Restack a single CL on its immediate parentrestack continueContinue an in-progress restack after fixing conflictsrestack abortAbort an in-progress restack instead of fixing conflicts
up: Checkout this CL's parentdown: Checkout this CL's childtop: Checkout the top-most CL in the current stack (this CL will be targeting the base branch and can be merged next)
git-gr also offers several lower-level utility commands:
cli: Run agerritcommand on the remote serverapi: Make a request to the Gerrit REST API