From: Junio C Hamano Date: Tue, 16 Apr 2019 10:28:10 +0000 (+0900) Subject: Merge branch 'nd/checkout-m-doc-update' X-Git-Tag: v2.22.0-rc0~98 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3feaacbaa15f6437a1767935a5ff04fdef0e86e3?hp=e9bd21c3373278a9eabaf20cb60dbb6aa694e37e Merge branch 'nd/checkout-m-doc-update' Doc about the above. * nd/checkout-m-doc-update: checkout.txt: note about losing staged changes with --merge --- diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index f179b43732..877e5f503a 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -242,6 +242,8 @@ should result in deletion of the path). + When checking out paths from the index, this option lets you recreate the conflicted merge in the specified paths. ++ +When switching branches with `--merge`, staged changes may be lost. --conflict=