Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can multiple files be specified when using BFG?

I am trying to delete multiple types of files which cannot be covered by a wildcard. I tried using multiple --delete-files but it won't accept it. Also tried putting the files all after one --delete-files and it doesn't accept it either.

Is there a way to put them all in one command? If not, then do I have to run git reflog expire --expire=now --all && git gc --prune=now --aggressive after deleting each type of file with bfg or can I just run bfg multiple times and then run that command after?

like image 436
LINUX G33NYUS Avatar asked Aug 01 '16 18:08

LINUX G33NYUS


1 Answers

It turns out that you can use a blob surrounded in quotes like "{a*,b*conf}" for example.

like image 69
LINUX G33NYUS Avatar answered Oct 15 '22 18:10

LINUX G33NYUS