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

Re: Is there a way to add a default `--squash` flag for all merges into a head?

From
Dun Peal <dunpealer@gmail.com>
Date
Mar 10, 2011, 19:38 UTC
Message-ID
<5a2ac540-481e-49e6-9e2e-eb410ba483e0@w9g2000prg.googlegroups.com>
In-Reply-To
<AANLkTinmdQ6r8cBDsFjXR+KLGeZR1-yeu7h9R=X0+1PG@mail.gmail.com>
On Mar 8, 1:29 am, Jay Soffian <jaysoff...@gmail.com> wrote:
> Try:
>
>   $ git config branch.<name>.mergeoptions --squash

Thanks, that works great and answers our need. Thanks to Junio as well for the thorough discussion of our workflow.

.D
Previous: Jay Soffian
Message 9 of 9 in “Is there a way to add a default `--squash` flag for all merges into a head?”
  1. Dun PealMar 7, 2011
  2. Andreas SchwabMar 7, 2011
  3. Dun PealMar 7, 2011
  4. Junio C HamanoMar 8, 2011
  5. Dun PealMar 9, 2011
  6. Junio C HamanoMar 9, 2011
  7. Dun PealMar 9, 2011
  8. Jay SoffianMar 8, 2011
  9. Dun PealMar 10, 2011

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.