<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">git rebase -i is great and very well documented, with tons of blogs post about it all over the web.<div class=""><br class=""></div><div class="">if you pick `s` as a memonic it will squash and let you edit the merged commit message. If the base commit message is already good, use `f` and it will “fixup” it which is a squash where the original commit message is kept and the other one discarded.</div><div class=""><div class=""><br class=""><div class="">
-Pierre

</div>

<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 17, 2015, at 2:07 AM, James Campbell via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Help on rebasing would be great. I use git all the time but I still struggle to squash my commits as I usually don't do it.&nbsp;</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Dec 17, 2015 at 9:25 AM, Tom Jowett via swift-corelibs-dev <span dir="ltr" class="">&lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank" class="">swift-corelibs-dev@swift.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi everyone,<div class=""><br class=""></div><div class="">I'm wondering if there's a way I can help to keep the commit structure of the repo a bit tidier?&nbsp; I can see the guideline being provided on&nbsp;CONTRIBUTING.md however the current commit history could be a little easier to follow for the average viewer (eb06d19 and&nbsp;b4f6e2b were duplicate commits, e.g) and it seems the rebase before PR element of that guideline could be better followed.</div><div class=""><br class=""></div><div class="">Perhaps a link in CONTRIBUTING.md to a walkthrough on how to squash and rebase commits (including adding tests appropriately for bisect) could be helpful?&nbsp; Happy to put one together in the context of this project if you think so.&nbsp; Also interested in any other suggestions you might have for how this could be remedied.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Tom</div><div class=""><br class=""></div><div class=""><br class=""></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=xV0JY-2FdZMnUMvSFtZnLiBPRTDDOSQf3-2FpH33HYOlBxG1GBrNvQ9T77AuS0qjr7Mb42TBYqPCOk53IGk-2FrbzN1jeoaRGuCmLbw5y0hKL-2Bv9nrgPbIZnH6YLiUq-2BBo2LIW6Bw2Cj5ml94s1ggitKcw2wLJ3yTHCHJfeSuts-2BnGEHPBzCjaDo0tKocXW7zPEA2fmsayHmcIdxd1-2FZw33Miyb-2F0jXUctEdwO9OimioQcz5Y-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important" class="">
<br class="">_______________________________________________<br class="">
swift-corelibs-dev mailing list<br class="">
<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" rel="noreferrer" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><span style="font-size:16px;line-height:19.2px" class=""></span><span style="font-size:12.8px" class="">&nbsp;Wizard</span><br class=""></div><div class=""><a href="mailto:james@supmenow.com" target="_blank" class="">james@supmenow.com</a></div><div class="">+44 7523 279 698</div></div></div></div></div></div>
</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=ST9LHNQ2kYRKURQJ7G-2FmGJ7cPtWGB-2BbbnqmgrSbiwvgVZArn9oCpGIL-2FwJ-2B6I0JD-2BR3jRVSGUedG0Zw7STiKsGtWbRbBqvsiV96SgPdIcJXTBggsMKlxXewGwRMu4VxA7KCxCqR6LipPEWLDEJY-2Bt8JOkB1lPbORGEfhya4z9gkhx89kV8Hfy-2FY9gXh9mcwQKxAaHgMUAifQJBmGBjs0jNc1sJq7i94UcWwJjDhB9Ws-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>