Can multiple files be specified when using BFG?

你离开我真会死。 提交于 2019-12-06 20:16:02

问题


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?


回答1:


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




回答2:


I implemented something like this a while back and created a pull request.



来源:https://stackoverflow.com/questions/38705858/can-multiple-files-be-specified-when-using-bfg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!