Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: how to have --no-ff be the default for all branch

From: Jay Soffian <hidden>
Date: 2016-06-15 22:46:20

2009/3/6 jean-luc malet [off-list ref]:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help