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

Replacing text but ignoring specific files #344

Open kevinxia787 opened 4 years ago

kevinxia787 commented 4 years ago

Hey all,

I'm trying to clean some repos of mine and I'm running the following command to start in the --mirror clone of my repo. bfg --replace-text <txt_file_what_I_want_removed> --no-blob-protection

The problem I'm running into is that some of the files changed are functional tests and I would like to somehow ignore these json files. Is there anyway to do that?

Thanks!