TheĪrgument, if provided, is only used for a progress bar. If needed,ĭownload the file's contents from the Git LFS endpoint. Of the corresponding large file to standard output. Read a Git LFS pointer file from standard input and write the contents Reading the documentation for git lfs smudge, we have: As you see in the reference you provide in Question 4, this worked for you. I would be happy with either direct answer to this question or a link toward a proper documentation.Īs explained in this video (at 1:27), when you push a file tracked by git lfs it is intercepted and placed on a different server, leaving a pointer in your git repository. But what if access to the full file is required ? how to download it ? This is of course awesome and the whole point. Question 4: after cloning the repo, indeed the full 3.4G file is not there, "just" a text file with the content: version Question 3: if the file was not uploaded, does this mean other users of the repo will get the link to the file on the original machine on which the file was added ? Is there a way to change this to a location on the server ? (back to question 2) I asked because my server is being backed-up, and I need to know if the use of git-lfs requires me to update this in any way. Question 2: if the file was uploaded on the server, where ? Obviously not in the same place as the repo (that is the point). Question 1: at the end of this process, has a.tar been uploaded on the gitlab server ? It is unclear as the "add" and the "commit" commands took some time (maybe not long enough to let me wonder if the 3.7GB were uploaded during that time) but the push did not take any time at all (a fraction of second). Maybe I missed something, but I failed to find any documentation on git-lfs beyond very short tutorial introducing the "track" command and cute 1 minute videos.įor example, I add and track a 3.7GB tar file in a repo, and push it: git lfs track "*.tar" I am trying to figure out how to use git-lfs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |