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.11k stars 549 forks source link

Delete files with filenames containing several dots and dashes #277

Closed sdespont closed 6 years ago

sdespont commented 6 years ago

Is there any reason why the file "Validation-document-127.0.0.1-1527687974.zip" which I am sure that is part of the history is not found?

java -jar bfg-1.13.0.jar --delete-files Validation-document-127.0.0.1-1527687974.zip repo.git

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

Is the reason could be the dashor dotin the filename?

javabrett commented 6 years ago

which I am sure that is part of the history

How have you established that? Does it still remain in a protected ref (HEAD of master)?

Case/caps maybe?

This should work fine.

sdespont commented 6 years ago

Thank you for your answer. I think you are right, the files are no longer part of the history. The fact is that the files can still be view in BitBucket, but I think it is a cache problem.

javabrett commented 6 years ago

Please close this issue.