diff options
author | 2021-07-28 13:17:58 -0700 | |
---|---|---|
committer | 2021-07-28 13:17:58 -0700 | |
commit | 01369fdfd3d0deec41c55306dae42f00dfbfa582 (patch) | |
tree | 1a4b11072413f2ff341603f5a6dc362565abc006 /Documentation | |
parent | Merge branch 'ew/many-alternate-optim' (diff) | |
parent | worktree: teach `add` to accept --reason <string> with --lock (diff) | |
download | tgif-01369fdfd3d0deec41c55306dae42f00dfbfa582.tar.xz |
Merge branch 'sm/worktree-add-lock'
"git worktree add --lock" learned to record why the worktree is
locked with a custom message.
* sm/worktree-add-lock:
worktree: teach `add` to accept --reason <string> with --lock
worktree: mark lock strings with `_()` for translation
t2400: clean up '"add" worktree with lock' test
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-worktree.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt index 66e67e6cbf..8a7cbdd19c 100644 --- a/Documentation/git-worktree.txt +++ b/Documentation/git-worktree.txt @@ -9,7 +9,7 @@ git-worktree - Manage multiple working trees SYNOPSIS -------- [verse] -'git worktree add' [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>] +'git worktree add' [-f] [--detach] [--checkout] [--lock [--reason <string>]] [-b <new-branch>] <path> [<commit-ish>] 'git worktree list' [--porcelain] 'git worktree lock' [--reason <string>] <worktree> 'git worktree move' <worktree> <new-path> @@ -242,7 +242,7 @@ With `list`, annotate missing working trees as prunable if they are older than `<time>`. --reason <string>:: - With `lock`, an explanation why the working tree is locked. + With `lock` or with `add --lock`, an explanation why the working tree is locked. <worktree>:: Working trees can be identified by path, either relative or |