aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/merge-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-17 10:15:17 -0700
committerJunio C Hamano <gitster@pobox.com>2019-06-17 10:15:17 -0700
commit6e0b1c60ad3e6067d5cae51a7dc36e58184accd5 (patch)
tree030db59bb6a9b059c1cc968e80bcc6fd7dfcabfe /Documentation/merge-options.txt
parent3a54d80ac8a1decac6fa158175fb16f0563f5c15 (diff)
parent1d14d0c9949c02260fe4f8b3a54a1b5c605823a2 (diff)
downloadgit-6e0b1c60ad3e6067d5cae51a7dc36e58184accd5.tar.gz
Merge branch 'vv/merge-squash-with-explicit-commit'
"git merge --squash" is designed to update the working tree and the index without creating the commit, and this cannot be countermanded by adding the "--commit" option; the command now refuses to work when both options are given. * vv/merge-squash-with-explicit-commit: merge: refuse --commit with --squash
Diffstat (limited to 'Documentation/merge-options.txt')
-rw-r--r--Documentation/merge-options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt
index 61876dbc33..79a00d2a4a 100644
--- a/Documentation/merge-options.txt
+++ b/Documentation/merge-options.txt
@@ -102,6 +102,8 @@ merge.
+
With --no-squash perform the merge and commit the result. This
option can be used to override --squash.
++
+With --squash, --commit is not allowed, and will fail.
-s <strategy>::
--strategy=<strategy>::