@@ -3,7 +3,7 @@ git-worktree(1)
33
44NAME
55----
6- git-worktree - Manage multiple worktrees
6+ git-worktree - Manage multiple working trees
77
88
99SYNOPSIS
@@ -15,7 +15,7 @@ SYNOPSIS
1515DESCRIPTION
1616-----------
1717
18- Manage multiple worktrees attached to the same repository.
18+ Manage multiple working trees attached to the same repository.
1919
2020A git repository can support multiple working trees, allowing you to check
2121out more than one branch at a time. With `git worktree add` a new working
@@ -27,19 +27,19 @@ bare repository) and zero or more linked working trees.
2727When you are done with a linked working tree you can simply delete it.
2828The working tree's administrative files in the repository (see
2929"DETAILS" below) will eventually be removed automatically (see
30- `gc.pruneworktreesexpire ` in linkgit::git-config[1]), or you can run
30+ `gc.worktreePruneExpire ` in linkgit::git-config[1]), or you can run
3131`git worktree prune` in the main or any linked working tree to
3232clean up any stale administrative files.
3333
34- If you move a linked working directory to another file system, or
34+ If you move a linked working tree to another file system, or
3535within a file system that does not support hard links, you need to run
36- at least one git command inside the linked working directory
36+ at least one git command inside the linked working tree
3737(e.g. `git status`) in order to update its administrative files in the
3838repository so that they do not get automatically pruned.
3939
4040If a linked working tree is stored on a portable device or network share
4141which is not always mounted, you can prevent its administrative files from
42- being pruned by creating a file named 'lock ' alongside the other
42+ being pruned by creating a file named 'locked ' alongside the other
4343administrative files, optionally containing a plain text reason that
4444pruning should be suppressed. See section "DETAILS" for more information.
4545
@@ -64,22 +64,22 @@ OPTIONS
6464
6565-f::
6666--force::
67- By default, `add` refuses to create a new worktree when `<branch>`
68- is already checked out by another worktree . This option overrides
67+ By default, `add` refuses to create a new working tree when `<branch>`
68+ is already checked out by another working tree . This option overrides
6969 that safeguard.
7070
7171-b <new-branch>::
7272-B <new-branch>::
7373 With `add`, create a new branch named `<new-branch>` starting at
74- `<branch>`, and check out `<new-branch>` into the new worktree .
74+ `<branch>`, and check out `<new-branch>` into the new working tree .
7575 If `<branch>` is omitted, it defaults to HEAD.
7676 By default, `-b` refuses to create a new branch if it already
7777 exists. `-B` overrides this safeguard, resetting `<new-branch>` to
7878 `<branch>`.
7979
8080--detach::
81- With `add`, detach HEAD in the new worktree . See "DETACHED HEAD" in
82- linkgit:git-checkout[1].
81+ With `add`, detach HEAD in the new working tree . See "DETACHED HEAD"
82+ in linkgit:git-checkout[1].
8383
8484-n::
8585--dry-run::
@@ -91,7 +91,7 @@ OPTIONS
9191 With `prune`, report all removals.
9292
9393--expire <time>::
94- With `prune`, only expire unused worktrees older than <time>.
94+ With `prune`, only expire unused working trees older than <time>.
9595
9696DETAILS
9797-------
@@ -139,9 +139,9 @@ EXAMPLES
139139You are in the middle of a refactoring session and your boss comes in and
140140demands that you fix something immediately. You might typically use
141141linkgit:git-stash[1] to store your changes away temporarily, however, your
142- worktree is in such a state of disarray (with new, moved, and removed files,
143- and other bits and pieces strewn around) that you don't want to risk
144- disturbing any of it. Instead, you create a temporary linked worktree to
142+ working tree is in such a state of disarray (with new, moved, and removed
143+ files, and other bits and pieces strewn around) that you don't want to risk
144+ disturbing any of it. Instead, you create a temporary linked working tree to
145145make the emergency fix, remove it when done, and then resume your earlier
146146refactoring session.
147147
@@ -164,12 +164,12 @@ checkouts of a superproject.
164164git-worktree could provide more automation for tasks currently
165165performed manually, such as:
166166
167- - `remove` to remove a linked worktree and its administrative files (and
168- warn if the worktree is dirty)
169- - `mv` to move or rename a worktree and update its administrative files
170- - `list` to list linked worktrees
167+ - `remove` to remove a linked working tree and its administrative files (and
168+ warn if the working tree is dirty)
169+ - `mv` to move or rename a working tree and update its administrative files
170+ - `list` to list linked working trees
171171- `lock` to prevent automatic pruning of administrative files (for instance,
172- for a worktree on a portable device)
172+ for a working tree on a portable device)
173173
174174GIT
175175---
0 commit comments