Skip to content

Will using the flags -S -no-ff during merge do what I think #22940

Discussion options

You must be logged in to vote

I believe item 3 is more along the lines of “will create a merge commit even if the commits on the target branch are all descended from the commit pointed to by HEAD”. From the documentation:

Create a merge commit even when the merge resolves as a fast-forward.

The git merge command is designed to merge two branches back into one, so it typically shouldn’t have anything to do with commit messages (other than the one on the merge commit, if any).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants