title: Git: How to remove file from index without deleting files from any repository
body: <p>When you use</p>
  
  <pre><code>git rm --cached myfile
  </code></pre>
  
  <p>it doesn't delete from the local filesystem, which is the goal. But if you've already versioned and committed the file, pushed it to a central repository, and pulled it into yet another repository before using the command, it will delete the file from that system.</p>
  
  <p>Is there a way to just remove the file from versioning without deleting it from any filesystem?</p>
  
  <p>Edit: Clarified, I hope.</p>