git-restack/doc/index.rst
James E. Blair 22cdd15b5d Check .gitreview file in repo for location of gerrit.
Change-Id: I5f344bb28155c42538c4a93ea0cefbef999a2957
2011-10-14 13:24:53 -04:00

1.6 KiB

git-review

SYNOPSIS

git-review [OPTIONS <git-review-options-label] [BRANCH]

DESCRIPTION

git-review automates and streamlines some of the tasks involve with submitting local changes to a Gerrit server for review.

OPTIONS

git-review

--topic, -t

Sets the target topic for this change on the gerrit server.

--dry-run, -n

Don't actually perform any commands that have direct effects. Print them instead.

--no-rebase, -R

Do not automatically perform a rebase before submitting the change to gerrit.

--update, -R

Skip cached local copies and force updates from network resources.

--download, -d

Download a change from gerrit into a branch for review. Takes a numeric change id as an argument.

--setup, -s

Just run throught the repo setup commands and then exit before attempting to submit anything.

--verbose, -v

Turns on more verbose output.

PROJECT CONFIGURATION

To use git-review with your project, it is recommended that you create a file at the root of the repository called ".gitreview" and place information about your gerrit installation in it. The format is:

[gerrit]
host=review.example.com
port=29418
project=project.git