rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
11.05k stars 545 forks source link

trying to delete history of non existing file in git repository #379

Open Pavavankumar opened 4 years ago

Pavavankumar commented 4 years ago

$ java -jar C:/ProgramData/chocolatey/lib/bfg-repo-cleaner/tools/bfg-1.13.0.jar --delete-files "PROII\Docs_P2\User Documentation\add_on\AddOnDev.zip" --no-blob-protection "D:\proii_DelFile\proii_DelFiles.git"

Using repo : D:\proii_DelFile\proii_DelFiles.git

Found 0 objects to protect Found 2 commit-pointing refs : HEAD, refs/heads/master

Protected commits

You're not protecting any commits, which means the BFG will modify the contents of even current commits.

This isn't recommended - ideally, if your current commits are dirty, you should fix up your working copy and commit that, check that your build still works, and only then run the BFG to clean up your history.

Cleaning

Found 7222 commits Cleaning commits: 100% (7222/7222) Cleaning commits completed in 5,351 ms.

BFG aborting: No refs to update - no dirty commits found??

-- You can rewrite history in Git - don't let Trump do it for real! Trump's administration has lied consistently, to make people give up on ever being told the truth. Don't give up: https://github.com/bkeepers/stop-trump

Pavavankumar commented 4 years ago

i tried with BFG also by using below command bfg --delete-files "PROII\Docs_P2\User Documentation\add_on\AddOnDev.zip" --no-blob-protection "D:\proii_DelFile\proii_DelFiles.git"