|.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
|.TH REPO "1" "July 2021" "repo upload" "Repo Manual"
|repo \- repo upload - manual page for repo upload
|\fI\,upload \/\fR[\fI\,--re --cc\/\fR] [\fI\,<project>\/\fR]...
|Upload changes for code review
|show this help message and exit
|\fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR
|number of jobs to run in parallel (default: based on
|number of CPU cores)
|send local branch name to Gerrit Code Review
|add hashtags (comma delimited) to the review
|add local branch name as a hashtag
|\fB\-l\fR LABELS, \fB\-\-label\fR=\fI\,LABELS\/\fR
|add a label when uploading
|request reviews from these people
|also send email to these email addresses
|(local) branch to upload
|upload current git branch
|upload all git branches
|do not send e\-mails on upload
|upload as a private change (deprecated; use \fB\-\-wip\fR)
|upload as a work\-in\-progress change
|\fB\-o\fR PUSH_OPTIONS, \fB\-\-push\-option\fR=\fI\,PUSH_OPTIONS\/\fR
|additional push options to transmit
|\fB\-D\fR BRANCH, \fB\-\-destination\fR=\fI\,BRANCH\/\fR, \fB\-\-dest\fR=\fI\,BRANCH\/\fR
|submit for review on this target branch
|do everything except actually upload the CL
|answer yes to all safe prompts
|disable verifying ssl certs (unsafe)
|.SS Logging options:
|show all output
|only show errors
|.SS pre\-upload hooks:
|Do not run the pre\-upload hook.
|Run the pre\-upload hook without prompting.
|Do not abort if pre\-upload hooks fail.
|Run `repo help upload` to view the detailed manual.
|The 'repo upload' command is used to send changes to the Gerrit Code Review
|system. It searches for topic branches in local projects that have not yet been
|published for review. If multiple topic branches are found, 'repo upload' opens
|an editor to allow the user to select which branches to upload.
|\&'repo upload' searches for uploadable changes in all projects listed at the
|command line. Projects can be specified either by name, or by a relative or
|absolute path to the project's local directory. If no projects are specified,
|\&'repo upload' will search for uploadable changes in all projects listed in the
|If the \fB\-\-reviewers\fR or \fB\-\-cc\fR options are passed, those emails are added to the
|respective list of users, and emails are sent to any new users. Users passed as
|\fB\-\-reviewers\fR must already be registered with the code review system, or the
|upload will fail.
|To disable the "Upload ... (y/N)?" prompt, you can set a per\-project or global
|Git configuration option. If review.URL.autoupload is set to "true" then repo
|will assume you always answer "y" at the prompt, and will not prompt you
|further. If it is set to "false" then repo will assume you always answer "n",
|and will abort.
|To automatically append a user or mailing list to reviews, you can set a
|per\-project or global Git option to do so.
|To automatically copy a user or mailing list to all uploaded reviews, you can
|set a per\-project or global Git option to do so. Specifically,
|review.URL.autocopy can be set to a comma separated list of reviewers who you
|always want copied on all uploads with a non\-empty \fB\-\-re\fR argument.
|Override the username used to connect to Gerrit Code Review. By default the
|local part of the email address is used.
|The URL must match the review URL listed in the manifest XML file, or in the
|\&.git/config within the project. For example:
|url = git://git.example.com/project.git
|review = http://review.example.com/
|autoupload = true
|autocopy = email@example.com,my\-team\-firstname.lastname@example.org
|To add a topic branch whenever uploading a commit, you can set a per\-project or
|global Git option to do so. If review.URL.uploadtopic is set to "true" then repo
|will assume you always want the equivalent of the \fB\-t\fR option to the repo command.
|If unset or set to "false" then repo will make use of only the command line
|To add hashtags whenever uploading a commit, you can set a per\-project or global
|Git option to do so. The value of review.URL.uploadhashtags will be used as
|comma delimited hashtags like the \fB\-\-hashtag\fR option.
|To add labels whenever uploading a commit, you can set a per\-project or global
|Git option to do so. The value of review.URL.uploadlabels will be used as comma
|delimited labels like the \fB\-\-label\fR option.
|Control e\-mail notifications when uploading.
|Gerrit Code Review: https://www.gerritcodereview.com/