I've set merge.ff
to only
in my local Git config:
$ git config --list | grep merge
merge.ff=only
This successfully prevents Git from performing a non-fast-forward merge, as expected.
However, when I want to explicitly allow such a merge and try to override that setting from the command line (either directly or as per this answer), I can't:
$ git merge --no-ff other-branch
fatal: You cannot combine --no-ff with --ff-only.
$ git -c merge.ff=false merge other-branch
fatal: You cannot combine --no-ff with --ff-only.
$ git -c merge.ff=true merge other-branch
fatal: Not possible to fast-forward, aborting.
What am I missing?