title: Git/Bitbucket - Remove file from entire history/commits
body: <p>Following the directions for BFG I proceeded to remove a private file that should not be on the repo/commit history.</p>
  
  <p><a href="https://rtyley.github.io/bfg-repo-cleaner/" rel="nofollow">https://rtyley.github.io/bfg-repo-cleaner/</a></p>
  
  <p>I ran</p>
  
  <pre><code>$ bfg --delete-files .private  my-repo.git
  </code></pre>
  
  <p>and pushed the changes however, it caused me to merge the master branch and the file still shows, the code is in the .private file and all commits are still in the history.</p>
  
  <p>How can I remove .private from the entire repo's commit history etc?</p>