@@ -658,6 +658,16 @@ <h2 id="_tasks">TASKS</h2>
658658< p > The < code > reflog-expire</ code > task deletes any entries in the reflog older than the
659659expiry threshold. See < a href ="git-reflog.html "> git-reflog(1)</ a > for more information.</ p >
660660</ dd >
661+ < dt class ="hdlist1 "> rerere-gc</ dt >
662+ < dd >
663+ < p > The < code > rerere-gc</ code > task invokes garbage collection for stale entries in
664+ the rerere cache. See < a href ="git-rerere.html "> git-rerere(1)</ a > for more information.</ p >
665+ </ dd >
666+ < dt class ="hdlist1 "> worktree-prune</ dt >
667+ < dd >
668+ < p > The < code > worktree-prune</ code > task deletes stale or broken worktrees. See
669+ linkit:git-worktree[1] for more information.</ p >
670+ </ dd >
661671</ dl >
662672</ div >
663673</ div >
@@ -1075,6 +1085,25 @@ <h2 id="_configuration">CONFIGURATION</h2>
10751085expired reflog entries in the "HEAD" reflog is at least the value of
10761086< code > maintenance.loose-objects.auto</ code > . The default value is 100.</ p >
10771087</ dd >
1088+ < dt class ="hdlist1 "> maintenance.rerere-gc.auto</ dt >
1089+ < dd >
1090+ < p > This integer config option controls how often the < code > rerere-gc</ code > task
1091+ should be run as part of < code > git</ code > < code > maintenance</ code > < code > run</ code > < code > --auto</ code > . If zero, then
1092+ the < code > rerere-gc</ code > task will not run with the < code > --auto</ code > option. A negative
1093+ value will force the task to run every time. Otherwise, any positive
1094+ value implies the command will run when the "rr-cache" directory exists
1095+ and has at least one entry, regardless of whether it is stale or not.
1096+ This heuristic may be refined in the future. The default value is 1.</ p >
1097+ </ dd >
1098+ < dt class ="hdlist1 "> maintenance.worktree-prune.auto</ dt >
1099+ < dd >
1100+ < p > This integer config option controls how often the < code > worktree-prune</ code > task
1101+ should be run as part of < code > git</ code > < code > maintenance</ code > < code > run</ code > < code > --auto</ code > . If zero, then
1102+ the < code > worktree-prune</ code > task will not run with the < code > --auto</ code > option. A
1103+ negative value will force the task to run every time. Otherwise, a
1104+ positive value implies the command should run when the number of
1105+ prunable worktrees exceeds the value. The default value is 1.</ p >
1106+ </ dd >
10781107</ dl >
10791108</ div >
10801109</ div >
@@ -1090,7 +1119,7 @@ <h2 id="_git">GIT</h2>
10901119</ div >
10911120< div id ="footer ">
10921121< div id ="footer-text ">
1093- Last updated 2025-04-16 14:42:40 -0700
1122+ Last updated 2025-05-15 17:31:22 -0700
10941123</ div >
10951124</ div >
10961125</ body >
0 commit comments