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
8
votes
1 answer

git-lfs: fatal: Cannot handle files this big (4.3G)

Using git-lfs/1.1.0 (GitHub; linux 386; go 1.5.1), file size 4.3G. git init git lfs install git lfs track *.nnex .gitattributes: *.nnex filter=lfs diff=lfs merge=lfs -text git add evernote-backup.nnex: fatal: Cannot handle files this big git lfs…
Vitaly Zdanevich
  • 13,032
  • 8
  • 47
  • 81
8
votes
2 answers

Gitlab with Git LFS on Amazon S3

Now that Gitlab announced Git LFS support I am asking if it is possible to store the Git LFS files on Amazon S3? I don't want to store the repositories itself just LFS files.
Lars Bilke
  • 4,940
  • 6
  • 45
  • 63
8
votes
2 answers

How to install Git Large File Storage on Windows?

According to its doc, double-click should be enough. But when I opened git bash and ran git lfs init, it doesn't work: $ git lfs init git: 'lfs' is not a git command. See 'git --help'.
laike9m
  • 18,344
  • 20
  • 107
  • 140
7
votes
0 answers

AWS CodeCommit does support Git LFS?

I have existing project repo in gitlab. Since the gitlab is running in the server, we have the lfs objects in certain directory. My Doubt is AWS Codecommit does not have seperate server to store any lfs configurations as gitlab or bitbucket. I've to…
7
votes
3 answers

Do I need Git LFS for local repos?

I created a Git repo that will exclusively be stored locally and I ask myself, if I really need Git LFS for binaries? As far as I can see, the .gitattributes is properly configured as in: *.psd binary And yes, the files land in .git/objects/...,…
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
7
votes
1 answer

How to reset Git LFS bandwidth?

I have pushed files of size 876MB to git lfs, which showed me total 0.9 of free storage and bandwidth respectively, but, then I made few changes like deleted the old repo and uninstalled git lfs, since I reduced image size from 900MB to 800MB and…
Pranav
  • 1,487
  • 2
  • 25
  • 53
7
votes
1 answer

How to Ignore Git LFS Unable to Find Source

I have been given an old repository with LFS but some of the (probably older) files are missing so I cannot push: git push -u origin Locking support detected on remote "origin". Consider enabling it with: $ git config…
Steve
  • 3,957
  • 2
  • 26
  • 50
7
votes
1 answer

Download Git LFS files without checkout

I'm looking for a way to download some git LFS zip files I have in a repo without having to checkout the entire repository. I have tried the following: curl -L This downloads a html file and not the…
A.R.K.S
  • 1,692
  • 5
  • 18
  • 40
7
votes
1 answer

Is comparing git lfs ls-files with git ls-files ':(attr:filter=lfs)' a reliable way to detect lfs files that are not managed by lfs?

I try to find a way to determine whether the files in git repository are correctly managed by git-lfs. So far, I have found that comparing results from git lfs ls-files and git ls-files ':(attr:filter=lfs)' seems to give me what I want. Add-Type…
Eugene Podskal
  • 10,270
  • 5
  • 31
  • 53
7
votes
1 answer

batch response: Git LFS is disabled for this repository?

Now, github provide free private repo to user. So, I create a private repo and try to use Git LFS. When I try to push files to remote, got this error: batch response: Git LFS is disabled for this repository. batch response: Git LFS is disabled for…
Lin Du
  • 88,126
  • 95
  • 281
  • 483
7
votes
1 answer

Configure Gerrit with Git LFS examples please

Could someone please provide examples of how you configured Gerrit to work with Git LFS? I understand that $GERRIT_SITE/etc/gerrit.config must be modified (I'd appreciate a good example here). On top of that, I think that each project (Git repo)…
SteveK
  • 101
  • 2
  • 10
7
votes
4 answers

Git LFS: Error: failed to push some refs to

I installed LFS for git, and when I try to push I get this error: Uploading LFS objects: 100% (18/18), 96 KB | 0 B/s, done Counting objects: 2199, done. Delta compression using up to 12 threads. Compressing objects: 100%…
Vlad Ciotlausi
  • 87
  • 1
  • 1
  • 5
7
votes
1 answer

Locking support detected on remote "origin"

I started tracking some files with git-lfs. Upon my next git push, I get constant (censored) message: Locking support detected on remote "origin". Consider enabling it with: $ git config lfs..git/info/lfs.locksverify true When I run…
twinlakes
  • 9,438
  • 6
  • 31
  • 42
7
votes
3 answers

How to make git LFS not apply to a subdirectory

My repository uses git LFS and includes lines such as this one in its .gitattributes: *.jar filter=lfs diff=lfs merge=lfs -text There's one .jar file that I want to store in the repo directly, not involving LFS. Ideally, I would make LFS not apply…
7
votes
2 answers

Delete git LFS files not in repo

I uploaded some files to git LFS and I went over my storage limit. Now, the files I uploaded don't show up in the repo, but I'm still over my data limit and I can't upload anything.