title: Git: Delete a specific file using bfg (beg-repo-cleaner)
body: <p>I am trying to delete a file permanently from the Git history, because it contains sensitive data.</p>
  
  <p>To do this, I am using <code>bfg</code>: <a href="https://rtyley.github.io/bfg-repo-cleaner/" rel="noreferrer">https://rtyley.github.io/bfg-repo-cleaner/</a></p>
  
  <p>The file is called <code>app/config.json</code>.</p>
  
  <p>However there are other files called <code>config.json</code> in other folders that I don't want deleted.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>git clone --mirror git://example.com/some-repo.git
  bfg --delete-files app/config.json my-repo.git
  </code></pre>
  
  <p>but I get the error message: </p>
  
  <pre><code>Error: *** Can only match on filename, NOT path *** - remove '/' path segments
  </code></pre>
  
  <p>How do I delete just this specific file?</p>