title: git remove all files except some files
body: <p>I am trying to remove all files from a git branch except 1 file</p>
  
  <pre><code># this removes all files
  git rm -rf .
  # what should i use to do somthing like that
  git rm -rf . --except file1 file2
  </code></pre>