title: how to delete all the file exept 2 "with git rm"?
body: <p>I want develop a new branch more simple with git and i want delete all the files except two.
  at home i do that :</p>
  
  <pre><code>git rm background.lua
  git rm border.lua
  git rm game.lua
  ....
  </code></pre>
  
  <p>Is there a way more simple like a one-line command ?
  or is there a way to detach file from a branch or a commit ?</p>
  
  <p>thanks for your responses. </p>