Converted a Repos to Git LFS using the following steps:
$ run java -jar ~/bfg-1.13.0.jar --convert-to-git-lfs "*.tgz" --no-blob-protection repos_name
$ git reflog expire --expire=now --all && git gc --prune=now --aggressive
$ git push --force
Repo size info in settings went from:
before (conversion NO LFS):
Size 1.0 GB
GFS 0
After (convresion to LFS)
size: 1.2 GB
GFS 435 MB
Need to make sure that this works and I don't get a locked repos at next commit.
Please verify
Also the following
$ java -jar ~/bfg-1.13.0.jar --delete-files blah.tgz --no-blob-protection repos_name
$ git reflog expire --expire=now --all && git gc --prune=now --aggressive
$ git push --force
This does not change the Size listed in repos settings but the file is no longer in any of the commits