Hi Claus,

I think that sometimes more than one commit is appropriate for a PR.  For 
instance some of mine recently have consisted of a few lines change of 
generation code and hundreds of files changed as a result.  It’s much clearer 
if those are two separate commits.  Also, my impression is that the project 
settings have the GitHub button be just “merge” without squash.

I’ve been waiting for review of my PRs which means it’s extremely likely that 
master will have progressed since my push.  So I think the project rebase and 
push setting will be a real help.

Thanks
David Jencks

> On Apr 15, 2020, at 10:00 PM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> 
> Hi
> 
> Yes we should do rebase and merge, or squash and merge style, so its linear.
> On github the green button is default for "squash and merge".
> 
> I always do git pull --rebase from CLI before pushing, so my commits
> are added on top of the branch.
> 
> 
> 
> On Wed, Apr 15, 2020 at 10:09 PM Pascal Schumacher
> <pascalschumac...@gmx.net> wrote:
>> 
>> Hi,
>> 
>> recently there were several merge commits (especially for merged pull
>> request).
>> 
>> I thought the consensus was to avoid merge commits to keep the git
>> history as clean as possible.
>> 
>> Should we keep this policy?
>> 
>> What do you think?
>> 
>> Cheers,
>> 
>> Pascal
>> 
>> 
> 
> 
> -- 
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to