Skip to content

mw gerrit

Releasev0.35.0 · cfeceb67

Save HTTP credentials with mw gerrit auth login --username YOURNAME. Use auth profiles to list accounts, auth default --profile NAME to choose a default, and --profile NAME on any Gerrit command to select another account. auth remove --profile NAME removes local credentials without revoking them.

SSH commands use the selected profile’s username and your configured SSH keys. Your SSH agent/config must support connecting to gerrit.wikimedia.org.

--password <string>
Gerrit password (prefer --password-stdin)
--password-stdin
Read a password from stdin for this command without saving it
--profile <string>
Saved account profile (login defaults to the verified username)
--username <string>
Gerrit username (overriding config)
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.