I was just wondering if anyone could clear up some confusion I have about using Git Large File Storage.
When creating your new repository, I know how to track certain files with git lfs track
, but how do you specify where those files will be stored?
For example, in the project I am working on there are a number of png and wav files. These are being tracked using git lfs track
. The Git LFS website says that they are stored on a remote server, but I cannot find out where that information is in our repository.
In addition, when a second user clones the repo, the project contains only pointers to the LFS objects. How can they find/use the url for the remote where the actual files are stored?
(We are using Bitbucket and a local system git for our repo.)
They're not stored in the repository, at least in a technical sense. git-lfs adds a second area, the large file storage area, which is a peer of your repository. The large files are stored there.
I would have expected BitBucket to present this information in a meaningful way on their website.
They need to install git-lfs. That is the program responsible for downloading and uploading the large file content.
As far as I understand, by defaul they are stored at Github's servers. You could also setup a server locally (they provide API documentation and what they call "reference server implementation") for that, and specify the server in git configuration