Skip to content

Instantly share code, notes, and snippets.

@gabrielhurley
Created November 9, 2011 20:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielhurley/1352780 to your computer and use it in GitHub Desktop.
Save gabrielhurley/1352780 to your computer and use it in GitHub Desktop.
Concise instructions for manually setting up gerrit review for OpenStack Dashboard (Horizon)

How to set up Gerrit and Git Review for OpenStack Dashboard (Horizon)

Step one:

cat <<EOF >>~/.gitconfig
[alias]
    review = !sh \`git rev-parse --show-toplevel\`/tools/rfc.sh
EOF

Step two (with your Launchpad username):

git remote add gerrit ssh://$username@review.openstack.org:29418/openstack/horizon

If it worked, you can now run:

git review

That should give you a success message on a clean (unchanged branch), or submit changes for review if your branch is ahead of master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment