title: How can I revert a file in a commit or pull request to the state it was in when I created the branch?
body: <p>Hypothetical:</p>
  
  <p>I'm working on a project and let's say I create a branch <code>table-settings</code> off of <code>master</code>. I commit changes to three files:</p>
  
  <ul>
  <li><code>plate.swift</code></li>
  <li><code>bowl.swift</code></li>
  <li><code>fork.swift</code></li>
  </ul>
  
  <p>Someone comments on my pull request and says, "We don't need those changes to <code>plate.swift</code> right now. </p>
  
  <p>Either on github, the command line, or a source control desktop app, <em>is there a way that I can revert all changes to a single file in a commit or pull request, back to the state it was in when I created the branch?</em></p>
  
  <p>What makes this different from "How do I revert a file to the previous commit", is that I'm wondering if I can revert a file that's been edited and committed multiple times, to the state that it was at when I created the feature branch it's on.</p>