From: Dun Peal Date: Mon, 07 Mar 2011 19:28:09 GMT Subject: Is there a way to add a default `--squash` flag for all merges into a head? Message-ID: <9f02bed0-fa18-46b1-a3d3-346e1cc7dc01@k15g2000prk.googlegroups.com> Hi, Our main Git repository supports a lot of developers working on multiple branches from master. Whenever the work on a branch is finished, the branch-owning developer(s) merge it back to master. That merge is always done with a `--squash` flag to avoid the 50+ levels deep graph we would end up with if everyone just used a true merge. 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? Thanks, D.