title: How to edit a diff/patch file cleanly ? Are there any patch file editors?
body: <p>Scenario: I have a patch file that applies cleanly to my working files, but I do not want all the changes from the patch. </p>
  
  <p>Usually, I do <code>vim example.patch</code>, remove unwanted changes and them apply <code>patch -p0 -i example.patch</code> but at times the patch does not apply cleanly, and I have to start over again.</p>
  
  <p><strong>Is there a patch file editor that allows users to edit and delete part of the patch and still can apply cleanly ?</strong></p>