I'd like to initialize several local git repositories on an external drive (git init --bare reponame) supporting git LFS protocol. I.e. after cloning these, I'd like to be able to track large files via LFS (the version of the files should then be stored on the external drive)
Doing this without any additional steps did not work (i.e. clone empty repo, track large files with git LFS, and try to push to remote):
Git LFS: (0 of 122 files) 0 B / 157.56 MB
http: Post /media/me/bigdrive/git_repos/coding.git/info/lfs/objects/batch:
unsupported protocol scheme ""
http: Post /media/me/bigdrive/git_repos/coding.git/info/lfs/objects/batch:
unsupported protocol scheme ""
error: failed to push some refs to '/media/me/bigdrive/git_repos/coding'`
I found no guide on how to do this and the LFS man page did not seem to provide a solution. The GitHub/BitBucket guides only explain how to do this on a local repository and then pushing to a correctly configured git repository on their servers
Appreciate any help, thanks!