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
10.95k stars 540 forks source link

Removing specific commits #341

Open qrdemole opened 4 years ago

qrdemole commented 4 years ago

Is it possible to use the bfg repo cleaner to remove a specific commit(s) from history? I know it could be done with git alone, but for a scenario when the commit is long in the past it is quite hard and some tool helping with that would be great.

javabrett commented 4 years ago

Yes, see:

-bi, --strip-blobs-with-ids strip blobs with the specified Git object ids