I am trying to clean something out of my git repo using bfg. The author's instructions suggest
java -jar bfg --replace-text passwords.txt my-repo.git
I understood these to mean
java -jar bfg.jar --replace-text <some text?> <a directory?>
But all my efforts to provide a text and a directory get an error Error: Option --replace-text failed when given 'some-text'. some-text (No such file or directory)
. Has anyone worked out how use bfg?
My aim is to remove a short string from my history (probably only appearing in one file but I can't be sure of that)