title: Git: Checkout all files except one
body: <p>When I do a git status, I see files like this:</p>
  
  <pre><code>modified:  dir/A/file.txt
  modified:  dir/B/file.txt
  modified:  dir/C/file.txt
  modified:  dir/D/file.txt
  </code></pre>
  
  <p>What I want to do is to discard changes to all files EXCEPT for dir/C/file.txt</p>
  
  <p>I want to do something like this:</p>
  
  <pre><code>git checkout -- dir/!C/file.txt
  </code></pre>