diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-04-26 19:21:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-26 19:21:51 -0700 |
commit | beca34013bc0864f462092d897371034e5e76810 (patch) | |
tree | 4caf7e3a0c5c71fda031f7dad119560744a714ae /git-worktree.txt | |
parent | e25cc817fa321686ae71fda302e172bf9ca8f04a (diff) | |
download | git-htmldocs-beca34013bc0864f462092d897371034e5e76810.tar.gz |
Autogenerated HTML docs for v2.13.0-rc1
Diffstat (limited to 'git-worktree.txt')
-rw-r--r-- | git-worktree.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/git-worktree.txt b/git-worktree.txt index 553cf8413..b472acc35 100644 --- a/git-worktree.txt +++ b/git-worktree.txt @@ -9,7 +9,7 @@ git-worktree - Manage multiple working trees SYNOPSIS -------- [verse] -'git worktree add' [-f] [--detach] [--checkout] [-b <new-branch>] <path> [<branch>] +'git worktree add' [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<branch>] 'git worktree list' [--porcelain] 'git worktree lock' [--reason <string>] <worktree> 'git worktree prune' [-n] [-v] [--expire <expire>] @@ -107,6 +107,11 @@ OPTIONS such as configuring sparse-checkout. See "Sparse checkout" in linkgit:git-read-tree[1]. +--lock:: + Keep the working tree locked after creation. This is the + equivalent of `git worktree lock` after `git worktree add`, + but without race condition. + -n:: --dry-run:: With `prune`, do not remove anything; just report what it would |