diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-07-25 14:27:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-25 14:27:10 -0700 |
commit | 33f2790ecafd29b8551a290e566003b975807c61 (patch) | |
tree | 1fb01d503bc1847a14b4e21cb5cb0a010f9c84ae /Documentation | |
parent | Merge branch 'js/bundle-verify-require-object-store' into maint (diff) | |
parent | merge: refuse --commit with --squash (diff) | |
download | tgif-33f2790ecafd29b8551a290e566003b975807c61.tar.xz |
Merge branch 'vv/merge-squash-with-explicit-commit' into maint
"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')
-rw-r--r-- | Documentation/merge-options.txt | 2 |
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>:: |