You cannot combine --squash with --no-ff

Asked 2 years ago, Updated 2 years ago, 48 views

When I cut off the branch and went to master to git merge --squash<branch name>, I got an error You cannot combine --squash with --no-ff..

I think I understand the difference between --squash and --no-ff, but when I searched for this error statement, I couldn't find a specific solution.

Please teach me.

git

2022-09-30 11:45

1 Answers

I checked the gitconfig configuration and found that ff=false in the merge item.

This response was posted as a community wiki based on @Shioji Ryohei's comment.


2022-09-30 11:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.