3

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?

TylerH
  • 20,799
  • 66
  • 75
  • 101
Alpes Maritimes
  • 111
  • 1
  • 6

1 Answers1

1

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.

riezebosch
  • 1,950
  • 16
  • 29
  • 1
    I think the answer is wrong (or outdated?). Isn't the command called `git lfs migrate import`? – jens Sep 16 '20 at 08:38