Skip to content

Commit f5d4c4d

Browse files
Michael J Grubergitster
authored andcommitted
merge-options.txt: Clarify merge --squash
With the --squash option, merge sets up the index just like for a real merge, but without the merge info (stages). Say so. Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f5b223a commit f5d4c4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/merge-options.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939

4040
--squash::
4141
Produce the working tree and index state as if a real
42-
merge happened, but do not actually make a commit or
42+
merge happened (except for the merge information),
43+
but do not actually make a commit or
4344
move the `HEAD`, nor record `$GIT_DIR/MERGE_HEAD` to
4445
cause the next `git commit` command to create a merge
4546
commit. This allows you to create a single commit on

0 commit comments

Comments
 (0)