title: How can I remove invalid entries (or pointers) from a GIT reposiory that uses LFS?
body: <p>We added some png to our git repository with git lfs. Somehow something went wrong and a couple of file have bad entries with slashes in the wrong way</p>
  
  <pre><code>data/images\\picture1.png
  data/images\\picture2.png
  </code></pre>
  
  <p>The real files exists and work OK</p>
  
  <pre><code>data/images/picture1.png
  data/images/picture2.png
  </code></pre>
  
  <p>Now if I pull, I get an error</p>
  
  <pre><code>$ git.exe pull --progress --no-rebase -v "origin"
  From bitbucket.org:USER/REP
  = [up to date]      master     -&gt; origin/master
  Pointer file error: Unable to parse pointer at: "data/images\\picture1.png"
  </code></pre>
  
  <p>I've tried alread git rm and gc but with no luck. Is there a way to delete those entries directly from git DB? </p>
  
  <p>Issue is on Windows, Linux and Mac</p>
  
  <p>EDIT</p>
  
  <p>Running git ls-files, I can see the files in the list, something like</p>
  
  <pre><code>  data/images/picture0.png
    "data/images\\picture1.png"
    "data/images\\picture2.png"
    data/images/picture3.png
  </code></pre>
  
  <p>if I try git rm with all kind of flavours (quotes, no quote, --force, --cache, --dry-run), I always receved the error</p>
  
  <pre><code>fatal: pathspec '"data/images\\picture1.png"' did not match any files
  </code></pre>