<div dir="ltr">No it keeps the original commits and just rebases them.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 26, 2016 at 5:00 PM, Max Rydahl Andersen <span dir="ltr"><<a href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 26 Sep 2016, at 16:28, Andrew Lee Rubinger wrote:<br>
<br>
> Now all we need: "Rebase, then squash, then merge" :)<br>
<br>
</span>I believe that is equivalent to just "Squash and merge"...is it not ?<br>
<br>
/max<br>
<span class=""><br>
><br>
> On Mon, Sep 26, 2016 at 10:24 AM, Max Rydahl Andersen <<a href="mailto:manderse@redhat.com">manderse@redhat.com</a>><br>
> wrote:<br>
><br>
>> Yay! better :)<br>
>><br>
>> Today Github introduced "Rebase and merge" button, see<br>
>> <a href="https://github.com/blog/2243-rebase-and-merge-pull-requests" rel="noreferrer" target="_blank">https://github.com/blog/2243-<wbr>rebase-and-merge-pull-requests</a><br>
>><br>
>> On Thu, Sep 22, 2016 at 4:25 PM, Max Rydahl Andersen <<a href="mailto:manderse@redhat.com">manderse@redhat.com</a>><br>
>> wrote:<br>
>><br>
>>> I use the green button. Why would I not?<br>
>>><br>
>>> if the PR is already rebased to master then the green button will do the<br>
>>> right thing.<br>
</span>>>> if the PR contains just *one* author and many commits and the last<br>
<span class="">>>> comment makes sense then the green button will almost do the right thing.<br>
>>><br>
>>> If the PR is not rebased to master - it will create (potentially)<br>
>>> unnecessary git merges.<br>
>>> If the PR has multiple good commit messages - the squash will make them<br>
>>> really hard to read.<br>
</span>>>> If the PR has multiple authors - some of those authors will *not* be<br>
<span class="">>>> recognised as contributor.<br>
>>> If you haven't tested the PR then the green button will do the wrong<br>
>>> thing too ;)<br>
>>><br>
</span>>>> So yes, the big green button can be tempting and it *sometimes* works,<br>
<span class="im HOEnZb">>>> but in other cases it is just wrong/bad/annoying.<br>
>>><br>
>>> /max<br>
>>><br>
>>> /Thomas<br>
>>> On 09/22/2016 03:31 PM, Max Rydahl Andersen wrote:<br>
>>><br>
>>> is this not just about the green button in github web ui ?<br>
>>> The button noone should use anyway ? :)<br>
>>> You can still do rebase/merges/squashes as need be on command line,<br>
>>> right?<br>
>>> /max<br>
>>><br>
>>> Rebase to master, from the PR would - but then a merge back to master<br>
>>> would still squash all the commits into 1 change at point of merge<br>
>>> back into master. Thats how the git repo is setup at the moment, and<br>
>>> seems wrong to me.<br>
>>> If a feature is worked on for a few days, across the team, and then<br>
>>> pushed into a single PR to merge into master, we are destroying the<br>
>>> entire history of that code.<br>
>>> regards,<br>
>>> On 21/09/16 19:18, Max Andersen wrote:<br>
>>><br>
>>> Rebase keeps history does it not ?<br>
>>> Sent from my iPhone<br>
>>> On 21 Sep 2016, at 18:28, Karanbir Singh <<a href="mailto:kbsingh@redhat.com">kbsingh@redhat.com</a><br>
</span><div class="HOEnZb"><div class="h5">>>> <mailto:<a href="mailto:kbsingh@redhat.com">kbsingh@redhat.com</a> <<a href="mailto:kbsingh@redhat.com">kbsingh@redhat.com</a>>>> wrote:<br>
>>> hi,<br>
>>> I just noticed that the only merge option for almighty-core is now<br>
>>> squash-and-merge, ie. we cant retain commit history for the PR's.<br>
>>> Is this by design ?<br>
>>><br>
>>> - --<br>
>>> Karanbir Singh, Project Lead, The CentOS Project, London, UK<br>
>>> Red Hat Ext. 8274455 | DID: 0044 207 009 4455<br>
>>><br>
>>> /max<br>
>>> <a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
>>> ______________________________<wbr>_________________<br>
>>> almighty-public mailing list<br>
>>> <a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
>>> <a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
>>><br>
>>> /max<br>
>>> <a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> almighty-public mailing list<br>
>>> <a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
>>> <a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
>>><br>
>>><br>
>> /max<br>
>> <a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> almighty-public mailing list<br>
>> <a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
>><br>
>><br>
><br>
> --<br>
> Red Hat Developer Programs Architecture<br>
> @ALRubinger<br>
<br>
<br>
<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" rel="noreferrer" target="_blank">http://about.me/maxandersen</a><br>
<br>
______________________________<wbr>_________________<br>
almighty-public mailing list<br>
<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
</div></div></blockquote></div><br></div>