<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 10:33 PM Jonathan Wilkes <<a href="mailto:jon.w.wilkes@gmail.com">jon.w.wilkes@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The problem I have is that rebase -i doesn't play well if you've been<br>
merging with master to keep up to date. It seems like<br>
the branch's commits related to the feature then get interleaved with<br>
whatever got committed in master.<br></blockquote><div><br></div><div>Yes, that's exactly what `git merge` does, which is why I suggest using `git rebase` on feature branches instead. Then you don't have that problem, and `git rebase -i` will work nicely if you don't go crazy with it  -- e.g., like trying to reorder a history which has one commit depending on another, that just won't work; but squashing and rewording commits, even splitting commits when it becomes necessary, will all work fine.<br></div></div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dr. Albert Gr"af<br>Computer Music Research Group, JGU Mainz, Germany<br>Email: <a href="mailto:aggraef@gmail.com" target="_blank">aggraef@gmail.com</a>, web: <a href="https://agraef.github.io/" target="_blank">https://agraef.github.io/</a></div></div></div></div></div></div></div>