mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-07-16 13:47:03 +00:00
6586efe79a
When help2man runs the repo script to generate man pages, the argparse module relies on the COLUMNS environment variable to wrap help text. This wrapping can cause URLs and descriptions to be awkwardly broken across lines. Setting COLUMNS="10000" prevents argparse from wrapping the output, keeping URLs intact in the generated man pages. Additionally, this fixes a broken git documentation URL fragment for --partial-clone in the repo script. Bug: 295374161 Change-Id: I0c79f37fbfe2bebe71ff90585f2e5e1f88ea33cb Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/601482 Tested-by: Brian Gan <brgan@google.com> Commit-Queue: Brian Gan <brgan@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com>
67 lines
1.8 KiB
Groff
67 lines
1.8 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
|
|
.TH REPO "1" "June 2026" "repo rebase" "Repo Manual"
|
|
.SH NAME
|
|
repo \- repo rebase - manual page for repo rebase
|
|
.SH SYNOPSIS
|
|
.B repo
|
|
\fI\,rebase {\/\fR[\fI\,<project>\/\fR...] \fI\,| -i <project>\/\fR...\fI\,}\/\fR
|
|
.SH DESCRIPTION
|
|
Summary
|
|
.PP
|
|
Rebase local branches on upstream branch
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
show this help message and exit
|
|
.TP
|
|
\fB\-\-fail\-fast\fR
|
|
stop rebasing after first error is hit
|
|
.TP
|
|
\fB\-f\fR, \fB\-\-force\-rebase\fR
|
|
pass \fB\-\-force\-rebase\fR to git rebase
|
|
.TP
|
|
\fB\-\-no\-ff\fR
|
|
pass \fB\-\-no\-ff\fR to git rebase
|
|
.TP
|
|
\fB\-\-autosquash\fR
|
|
pass \fB\-\-autosquash\fR to git rebase
|
|
.TP
|
|
\fB\-\-whitespace\fR=\fI\,WS\/\fR
|
|
pass \fB\-\-whitespace\fR to git rebase
|
|
.TP
|
|
\fB\-\-auto\-stash\fR
|
|
stash local modifications before starting
|
|
.TP
|
|
\fB\-m\fR, \fB\-\-onto\-manifest\fR
|
|
rebase onto the manifest version instead of upstream HEAD (this helps to make sure the local tree stays consistent if you previously synced to a manifest)
|
|
.SS Logging options:
|
|
.TP
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
show all output
|
|
.TP
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
only show errors
|
|
.TP
|
|
\fB\-i\fR, \fB\-\-interactive\fR
|
|
interactive rebase (single project only)
|
|
.SS Multi\-manifest options:
|
|
.TP
|
|
\fB\-\-outer\-manifest\fR
|
|
operate starting at the outermost manifest
|
|
.TP
|
|
\fB\-\-no\-outer\-manifest\fR
|
|
do not operate on outer manifests
|
|
.TP
|
|
\fB\-\-this\-manifest\-only\fR
|
|
only operate on this (sub)manifest
|
|
.TP
|
|
\fB\-\-no\-this\-manifest\-only\fR, \fB\-\-all\-manifests\fR
|
|
operate on this manifest and its submanifests
|
|
.PP
|
|
Run `repo help rebase` to view the detailed manual.
|
|
.SH DETAILS
|
|
.PP
|
|
\&'repo rebase' uses git rebase to move local changes in the current topic branch
|
|
to the HEAD of the upstream history, useful when you have made commits in a
|
|
topic branch but need to incorporate new upstream changes "underneath" them.
|