title: How to apply diff between commits to current head in git?
body: <p>I was working on some topic branch on project I participate in.  I normally rebase my branches before making a pull request.  This time however, due to changes in master, rebasing is a big pain.  Lot of conflicts and, what's worse, after manual merging commits look just ugly and loose their point.  I would definitely prefer to obtain diff between my branch's head and latest commit present on both branches, then apply this diff to master's head and finally create brand new shiny commits with <code>git add -p</code>.  So my question is: how to achieve it?  One possibility would be to simply merge master into my topic branch, but is there a more elegant solution?  I believe yes.</p>
  
  <p>Thanks for your help.</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>One file has been moved on master branch and my commits are altering this file (using it's old name).</p>