mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-07-27 06:18:23 +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>
61 lines
1.6 KiB
Groff
61 lines
1.6 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
|
|
.TH REPO "1" "June 2026" "repo wipe" "Repo Manual"
|
|
.SH NAME
|
|
repo \- repo wipe - manual page for repo wipe
|
|
.SH SYNOPSIS
|
|
.B repo
|
|
\fI\,wipe <project>\/\fR...
|
|
.SH DESCRIPTION
|
|
Summary
|
|
.PP
|
|
Wipe projects from the worktree
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
show this help message and exit
|
|
.TP
|
|
\fB\-f\fR, \fB\-\-force\fR
|
|
force wipe shared projects and uncommitted changes
|
|
.TP
|
|
\fB\-\-force\-uncommitted\fR
|
|
force wipe even if there are uncommitted changes
|
|
.TP
|
|
\fB\-\-force\-shared\fR
|
|
force wipe even if the project shares an object directory
|
|
.SS Logging options:
|
|
.TP
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
show all output
|
|
.TP
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
only show errors
|
|
.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 wipe` to view the detailed manual.
|
|
.SH DETAILS
|
|
.PP
|
|
The 'repo wipe' command removes the specified projects from the worktree (the
|
|
checked out source code) and deletes the project's git data from `.repo`.
|
|
.PP
|
|
This is a destructive operation and cannot be undone.
|
|
.PP
|
|
Projects can be specified either by name, or by a relative or absolute path to
|
|
the project's local directory.
|
|
.SH EXAMPLES
|
|
.SS # Wipe the project "platform/build" by name:
|
|
$ repo wipe platform/build
|
|
.SS # Wipe the project at the path "build/make":
|
|
$ repo wipe build/make
|