@@ -3,7 +3,7 @@ git-worktree(1)
3
3
4
4
NAME
5
5
----
6
- git-worktree - Manage multiple worktrees
6
+ git-worktree - Manage multiple working trees
7
7
8
8
9
9
SYNOPSIS
@@ -15,7 +15,7 @@ SYNOPSIS
15
15
DESCRIPTION
16
16
-----------
17
17
18
- Manage multiple worktrees attached to the same repository.
18
+ Manage multiple working trees attached to the same repository.
19
19
20
20
A git repository can support multiple working trees, allowing you to check
21
21
out more than one branch at a time. With `git worktree add` a new working
@@ -31,9 +31,9 @@ The working tree's administrative files in the repository (see
31
31
`git worktree prune` in the main or any linked working tree to
32
32
clean up any stale administrative files.
33
33
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
35
35
within 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
37
37
(e.g. `git status`) in order to update its administrative files in the
38
38
repository so that they do not get automatically pruned.
39
39
@@ -64,22 +64,22 @@ OPTIONS
64
64
65
65
-f::
66
66
--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
69
69
that safeguard.
70
70
71
71
-b <new-branch>::
72
72
-B <new-branch>::
73
73
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 .
75
75
If `<branch>` is omitted, it defaults to HEAD.
76
76
By default, `-b` refuses to create a new branch if it already
77
77
exists. `-B` overrides this safeguard, resetting `<new-branch>` to
78
78
`<branch>`.
79
79
80
80
--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].
83
83
84
84
-n::
85
85
--dry-run::
@@ -91,7 +91,7 @@ OPTIONS
91
91
With `prune`, report all removals.
92
92
93
93
--expire <time>::
94
- With `prune`, only expire unused worktrees older than <time>.
94
+ With `prune`, only expire unused working trees older than <time>.
95
95
96
96
DETAILS
97
97
-------
@@ -139,9 +139,9 @@ EXAMPLES
139
139
You are in the middle of a refactoring session and your boss comes in and
140
140
demands that you fix something immediately. You might typically use
141
141
linkgit: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
145
145
make the emergency fix, remove it when done, and then resume your earlier
146
146
refactoring session.
147
147
@@ -164,12 +164,12 @@ checkouts of a superproject.
164
164
git-worktree could provide more automation for tasks currently
165
165
performed manually, such as:
166
166
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
171
171
- `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)
173
173
174
174
GIT
175
175
---
0 commit comments