Re: how to have --no-ff be the default for all branch
2009/3/6 jean-luc malet <jeanluc.malet@gmail.com>:
Show 9 quoted lines
> I would like that it is the default for all branch and that I use --ff
> when I want to do fast forward merge
> I know that I can set it up for one branch
> git config add branch.master.mergeoption --no-ff
> but I want it to be the default no just for one branch but for all branch
> git config add branch.*.mergeoption --no-ff
> don't work....
>
> how can I do that?
Not currently possible. The best you can do currently is to make an alias.
It would be a fairly trivial patch though to support merge.options. :-)
j.