I'm trying to use git-lfs with a Visual Studio Online Git repository to store code alongside some large CSV data files.
I downloaded the git-lfs installer, restarted git-bash, ran git lfs install
, cloned an empty repo, and ran git lfs track "*.csv"
. Then I committed code and CSV files, and ran git push origin master
. I got this warning:
Remote "origin" does not support the LFS locking API. Consider disabling it with:
$ git config 'lfs.https://company.visualstudio.com/DefaultCollection/ProjectName/_git/reponame.git/info/lfs.locksverify' false
Git LFS: (0 of 0 files, 135 skipped) 0 B / 0 B, 3.75 GB skipped
Counting objects: 261, done.
Then I tried to clone the repo to a fresh directory, to see if it's working. I get these errors:
Downloading data/data.csv (738.83 MB)
Error downloading object: data/data.csv(**********************************************47505bb25a3e2a552e)
error: external filter git-lfs smudge -- %f failed 2
error: external filter git-lfs smudge -- %f failed
fatal: data/data.csv: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
What am I doing wrong? How do I get git-lfs to work with a VSO Git repository?