diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-08-29 00:20:25 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-30 19:28:02 +0300 |
commit | f4143101cbb26d189f63f2d29875f4acc07b2730 (patch) | |
tree | 8d1d73f60c1101c88bfb86e59c44ff9aad4f8c29 /Documentation/git-worktree.txt | |
parent | 68a6b3a1bd45eb1814a0c1cedfe347692c3f2ff7 (diff) |
worktree: teach 'remove' to override lock when --force given twice
For consistency with "add -f -f" and "move -f -f" which override
the lock on a worktree, allow "remove -f -f" to do so, as well, as a
convenience.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-worktree.txt')
-rw-r--r-- | Documentation/git-worktree.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt index d08b8d8e4f..e2ee9fc21b 100644 --- a/Documentation/git-worktree.txt +++ b/Documentation/git-worktree.txt @@ -129,6 +129,7 @@ OPTIONS twice. + `remove` refuses to remove an unclean working tree unless `--force` is used. +To remove a locked working tree, specify `--force` twice. -b <new-branch>:: -B <new-branch>:: |