Reputation: 121
I tried a lot of commands but it does not work:
java -jar bfg-1.13.0.jar --convert-to-git-lfs 'lib/**' --no-blob-protection
java -jar bfg-1.13.0.jar --convert-to-git-lfs 'lib' --no-blob-protection
java -jar bfg-1.13.0.jar --convert-to-git-lfs 'lib/*' --no-blob-protection
java -jar bfg-1.13.0.jar --convert-to-git-lfs '*/lib/*' --no-blob-protection
Is it supported by BFG repo cleaner? If so, what is the command?
Upvotes: 3
Views: 710
Reputation: 2028
I managed to do this with git lfs migrate import --include 'lib/**'
. It creates the correct .gitattributes
with that so git will handle your future clone, pull, checkout and commits operations well.
Upvotes: 1