title: fatal: pathspec '.' did not match any files when trying git rm
body: <p>I am just running following command on a folder which is part of <code>git repo</code> </p>
  
  <p>The command I am running is: <code>git rm -r --cached .</code> However git is constantly throwing following error:</p>
  
  <p><code>fatal: pathspec '.' did not match any files</code></p>
  
  <p>I have no idea why is that. <code>.</code> definitely exists and is definitely part of a git repo. The error does not explain much in detail</p>