diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-05-07 09:21:40 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-07 10:50:14 -0700 |
| commit | ec31474656de3849fb9ed31f238fabdb6a59f1b1 (patch) | |
| tree | e198247fd2f38c3d404d164e58c4f48a1d6ad31b /Documentation/git-maintenance.adoc | |
| parent | ae76c1c99089903ce2b786a42a7e5598a7be5c5c (diff) | |
| download | git-ec31474656de3849fb9ed31f238fabdb6a59f1b1.tar.xz | |
builtin/maintenance: introduce "worktree-prune" task
While git-gc(1) knows to prune stale worktrees, git-maintenance(1) does
not yet have a task for this cleanup. Introduce a new "worktree-prune"
task to plug this gap.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-maintenance.adoc')
| -rw-r--r-- | Documentation/git-maintenance.adoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-maintenance.adoc b/Documentation/git-maintenance.adoc index 3a1e2a69b6..6f085a9cf8 100644 --- a/Documentation/git-maintenance.adoc +++ b/Documentation/git-maintenance.adoc @@ -166,6 +166,10 @@ reflog-expire:: The `reflog-expire` task deletes any entries in the reflog older than the expiry threshold. See linkgit:git-reflog[1] for more information. +worktree-prune:: + The `worktree-prune` task deletes stale or broken worktrees. See + linkit:git-worktree[1] for more information. + OPTIONS ------- --auto:: |
