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
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.
© 2024 OneMinuteCode. All rights reserved.