|PASSWORD1 # Replace literal string 'PASSWORD1' with '***REMOVED***' (default)|
|PASSWORD2==>examplePass # replace with 'examplePass' instead|
|PASSWORD3==> # replace with the empty string|
|regex:password=\w+==>password= # Replace, using a regex|
|regex:\r(\n)==>$1 # Replace Windows newlines with Unix newlines|
Do you know if there's anyway to use the BFG command to delete files but applying it only to an specific path in the repository?
Several files might match the regex expressions that I'm building but I would like to filter so that it only applies to the files I want.
I found these two flags @fcu423, maybe they can help: