git cl: add --gerrit and --rietveld options to force codereview.
This makes it possible to override the codereview set in: * repository codereview.settings * cached/set in local .git/config, either repo-wide or current branch only. Examples: cd $SOME_RIETVELD_USING_REPO # Enable Gerrit codereview on it. Contact Infra-Git admin: # https://bugs.chromium.org/p/chromium/issues/entry?template=Infra-Git # Uploading git cl upload --gerrit --squash # Hack, hack, re-upload uses Gerrit automatically. git cl upload --squash # Patching git new-branch patched-in-issue git cl patch --gerrit XXXXXX # (Re-)setting issue git cl issue --gerrit 0 git cl issue --gerrit XXXXXX R=andybons@chromium.org,sergiyb@chromium.org BUG=598681 Review URL: https://codereview.chromium.org/1880243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299901 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please
register
or
sign in
to comment