git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jay Soffian <jaysoffian@gmail.com>
Date
Mar 6, 2009, 17:01 UTC
Message-ID
<76718490903060901j26308d42wfc288e522abee369@mail.gmail.com>
In-Reply-To
<1de9d39c0903060245u45373b8cq10d52f353c2214e2@mail.gmail.com>
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.
Previous: jean-luc malet
Message 2 of 2 in “Fwd: how to have --no-ff be the default for all branch”
  1. jean-luc maletMar 6, 2009
  2. Jay SoffianMar 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.