diff options
| author | Gavin Mak <gavinmak@google.com> | 2025-11-19 16:46:07 -0800 |
|---|---|---|
| committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-11-21 10:48:42 -0800 |
| commit | be33106ffc516c9631a78e1c1d2ebea3a955d71a (patch) | |
| tree | 5937edf110be3065a3234522e9eb33380db19318 /man/repo.1 | |
| parent | 5998c0b50612af80c8a710b79692313e7f84c64a (diff) | |
| download | git-repo-be33106ffc516c9631a78e1c1d2ebea3a955d71a.tar.gz | |
wipe: Add new `repo wipe` subcommandmain
This new command allows users to delete projects from the worktree
and from the `.repo` directory. It is a destructive operation.
It handles shared projects by refusing to wipe them unless the
`--force` flag is used. It also checks for uncommitted changes
before wiping.
Bug: 393383056
Change-Id: Ia30d8ffdc781a3f179af56310ce31c9dae331bbe
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/490801
Tested-by: Gavin Mak <gavinmak@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'man/repo.1')
| -rw-r--r-- | man/repo.1 | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
| 2 | .TH REPO "1" "April 2025" "repo" "Repo Manual" | 2 | .TH REPO "1" "November 2025" "repo" "Repo Manual" |
| 3 | .SH NAME | 3 | .SH NAME |
| 4 | repo \- repository management tool built on top of git | 4 | repo \- repository management tool built on top of git |
| 5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
| @@ -132,6 +132,9 @@ Upload changes for code review | |||
| 132 | .TP | 132 | .TP |
| 133 | version | 133 | version |
| 134 | Display the version of repo | 134 | Display the version of repo |
| 135 | .TP | ||
| 136 | wipe | ||
| 137 | Wipe projects from the worktree | ||
| 135 | .PP | 138 | .PP |
| 136 | See 'repo help <command>' for more information on a specific command. | 139 | See 'repo help <command>' for more information on a specific command. |
| 137 | Bug reports: https://issues.gerritcodereview.com/issues/new?component=1370071 | 140 | Bug reports: https://issues.gerritcodereview.com/issues/new?component=1370071 |
