diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 3 | ||||
-rw-r--r-- | Documentation/git-worktree.txt | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 0f70cf6141..583d24fda4 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1229,8 +1229,7 @@ gc.pruneexpire:: "now" may be used to disable this grace period and always prune unreachable objects immediately. -gc.pruneworktreesexpire:: - When 'git gc' is run, it will call +gc.worktreePruneExpire:: When 'git gc' is run, it calls 'git worktree prune --expire 3.months.ago'. This config variable can be used to set a different grace diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt index a6d8ad763a..32344598c3 100644 --- a/Documentation/git-worktree.txt +++ b/Documentation/git-worktree.txt @@ -27,7 +27,7 @@ bare repository) and zero or more linked working trees. When you are done with a linked working tree you can simply delete it. The working tree's administrative files in the repository (see "DETAILS" below) will eventually be removed automatically (see -`gc.pruneworktreesexpire` in linkgit::git-config[1]), or you can run +`gc.worktreePruneExpire` in linkgit::git-config[1]), or you can run `git worktree prune` in the main or any linked working tree to clean up any stale administrative files. |