From: Jay Soffian Date: Tue, 08 Mar 2011 07:29:38 GMT Subject: Re: Is there a way to add a default `--squash` flag for all merges into a head? Message-ID: In-Reply-To: <9f02bed0-fa18-46b1-a3d3-346e1cc7dc01@k15g2000prk.googlegroups.com> On Mon, Mar 7, 2011 at 2:28 PM, Dun Peal wrote: > There's a configuration feaute `branch..rebase` for specifying > that all merges into a branch (master in this case) would be done by > rebase, so I was expecting a similar feature for always squashing back > (since some developers may forget to add the flag). Unfortunately, I > couldn't find it. Does it exist? Try: $ git config branch..mergeoptions --squash j.