summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-04-22 11:14:47 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-22 11:14:47 +0900
commit87e20f8c4ffe0c96b1c288057555aec81393da28 (patch)
treeb6a58293ea99d2a984cddd60462cd21c06d66cb5
parentMerge branch 'nd/interpret-trailers-docfix' (diff)
parentread-tree.txt: clarify --reset and worktree changes (diff)
downloadtgif-87e20f8c4ffe0c96b1c288057555aec81393da28.tar.xz
Merge branch 'nd/read-tree-reset-doc'
The documentation for "git read-tree --reset -u" has been updated. * nd/read-tree-reset-doc: read-tree.txt: clarify --reset and worktree changes
-rw-r--r--Documentation/git-read-tree.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-read-tree.txt b/Documentation/git-read-tree.txt
index 5c70bc2878..7061d6634e 100644
--- a/Documentation/git-read-tree.txt
+++ b/Documentation/git-read-tree.txt
@@ -38,8 +38,9 @@ OPTIONS
started.
--reset::
- Same as -m, except that unmerged entries are discarded
- instead of failing.
+ Same as -m, except that unmerged entries are discarded instead
+ of failing. When used with `-u`, updates leading to loss of
+ working tree changes will not abort the operation.
-u::
After a successful merge, update the files in the work