title: How can I skip commits in git?
body: <p>I have some commits that I don't want in my project, but there's a commit based on them which I do want in it.
  This is my GitHub "Network" graph of the repository (ASCII, as I still cannot post images):</p>
  
  <pre><code>[]--[]--[_]
  |        |
  |        -------&gt;|
  ----------&gt;[·]--[·]--[*]
  </code></pre>
  
  <p>(-> means a merge)</p>
  
  <p>I want to delete the changes made in the two [·] commits, and base the [*] one on the [_] one above.
  I've tryed merging and rebasing, but they apply the changes of the unwanted commits.
  Is it possible?</p>
  
  <p>Sorry if I'm not clear, English isn't my mother language.
  Thanks in advance.</p>