Questions tagged [git-lfs]

Questions about Git Large File Storage. LFS extends Git (but is not itself Git); use this tag for git-lfs questions instead of the plain Git tag. Do not confuse this with the "Linux-from-scratch" LFS tag.

An open source Git extension for versioning large files.

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

git lfs

https://git-lfs.github.com/

971 questions
0
votes
1 answer

list git lfs lockable files

With git lfs it is possible to register a file type as lockable, without using LFS. From the lfs wiki page: If you'd like to register a file type as lockable, without using LFS, you can edit the .gitattributes file directly: *.yml lockable Once…
Simon
  • 422
  • 5
  • 19
0
votes
0 answers

Push missing file to git lfs

Unfortunately, I introduced an error in my .gitattributes some weeks (and commits and pushes) ago. As a result the .gitignore of a subfolder of my project is assumed to be on git lfs. But for some reason, it never got pushed there. I corrected the…
ma0ho
  • 623
  • 1
  • 4
  • 17
0
votes
1 answer

Staged git lfs files not being intercepted by git-lfs

I am trying to commit/push a 1.2gb tar file to git lfs server using Git on Windows 10 I have tracked the tar extension with: C:\FilepathTo\Folder> git lfs track '*.tar' Running git lfs track returns Listing tracked patterns Folder\'*.tar'…
Raptop
  • 169
  • 2
  • 13
0
votes
1 answer

Faster alternative to git lfs clone from remote GitHub repositories?

Objective I have a remote GitHub repositories, which uses git-lfs to hold large binary files. I want others to be able to quickly download my code and data. If speed can be enhanced, I don't expect others to necessarily version control their…
Packard CPW
  • 339
  • 1
  • 5
  • 16
0
votes
1 answer

git lfs locks works fine inside corporate network, but takes more than 10 minutes when used by contractor connecting through VPN

Our contractors are migrating from SVN to Git, and we are in need to provide them with file locking option. As SVN supports this feature, git doesn't have one, so i'm trying to use Git LFS module for this problem. After installing GIT LFS, i locked…
0
votes
1 answer

Accessing static .obj files stored in GitHub LFS

I have a simple static app deployed to Heroku with a repo in GitHub. The static app essentially is an HTML page with some JavaScript that uses Three.js to render some very large .obj files to the HTML page. Given these are very large .obj files,…
sir_thursday
  • 5,270
  • 12
  • 64
  • 118
0
votes
2 answers

How to remove content using LFS from bitbucket repo

I have a git repo on bitbucket. Recently I added a large file using LFS. After that I keep on having problem cloning from my repo. The following is the error message I get: Bitbucket cannot execute 'git-lfs-authenticate [XXX] download'. The…
YTT
  • 15
  • 5
0
votes
1 answer

GIt Replaces Local Files With LFS Links

I have had git LFS enabled on my repository for a while and it has always worked perfectly. Recently, I have been having issues where my local files are being replaced with links. As an example, I have a png file that will no longer open because the…
Chris McCole
  • 59
  • 2
  • 15
0
votes
1 answer

Why is git pushing my files normally, even if they are handled by git-LFS?

I have the problem that, in my repo, I have to upload an essential *.lm dictionary file which is about 380mb of size. It actually is tracked by git-lfs and it also is being uploaded to git-lfs. My problem is, that besides git-lfs, git also uploads…
laim2003
  • 299
  • 4
  • 19
0
votes
1 answer

Difference between git-lfs env Endpoint and LfsStorageDir?

I think I get the mechanics of lfs and its method of tracking the binary files via pointers and only cloning data as needed but I cannot get a solid confirmation where lfs is storing the bulk data. In my case I suspect lfs is keeping the data local…
rebusB
  • 518
  • 5
  • 19
0
votes
2 answers

How to recover from failed git lfs push?

I set up my .gitattributes to make some binary files LFS. Didn't realize I already had some git hooks in place so I didn't have the git lfs hooks. I did a push, and now, in the upstream repo, all the binary files are just empty pointers -- no files…
GaryO
  • 5,873
  • 1
  • 36
  • 61
0
votes
1 answer

What can cause a git lfs object to go missing?

When I commit a git lfs tracked file (without pushing) two things happen, as far as I understand: The file is copied to the local lfs object storage (.git/lfs/objects) The file is replaced with an lfs pointer file in the commit, but not in the…
Jawap
  • 2,463
  • 3
  • 28
  • 46
0
votes
1 answer

trying to upload Unity Files to git using LFS fails with "GH001 large files detected" error

I am trying to upload a Unity Project to GitHub using LFS. The size of the director is 306MB so I need to us LFS. It always freezes during the commit process which I quit with a control c. When I perform the push it goes then says "large files…
EFiore
  • 105
  • 1
  • 9
0
votes
0 answers

git-lfs checkout older version of binary file

EDIT: So apparently, I asked this about git when I wanted git-lfs, which apperently behaves differently. In git you can do: git show tag-name:foo.bin > foo-tag-name.bin to get an older version of a file. In git-lfs, if you do this, you get: ~>…
HardcoreHenry
  • 5,909
  • 2
  • 19
  • 44
0
votes
1 answer

git remove file and history from all branches

I had created a private repository on gitlab over a year ago and over time the repo has grown a fair bit. One mistake in hindsight from me was to put some large binary files in the repository. I did not know about git-lfsand the repo has now grown…
Luca
  • 10,458
  • 24
  • 107
  • 234