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

Disable Git LFS for a remote

I'm trying to push to a second remote that doesn't support Git LFS. Is there a way to disable Git LFS for a specific remote using git config?
amiuhle
  • 2,673
  • 1
  • 19
  • 28
50
votes
2 answers

Pull ALL files from git LFS

Is it possible to locally cache ALL files in a git-LFS repo for offline use? That is, make the repo usable like a normal git repo, even without an internet connection to fetch git-LFS files?
Norman Percy
  • 858
  • 1
  • 8
  • 13
41
votes
2 answers

How to use GIT LFS to track iOS frameworks?

I want to track my frameworks with lfs by a smart way. So this is my setting for git lfs: *.framework/Versions/A (.gitattributes) */*.framework/Versions/A (.gitattributes) */{*.framework}/Versions/A (.gitattributes) But it doesn't work. When I run…
vietstone
  • 8,784
  • 16
  • 52
  • 79
40
votes
3 answers

git lfs clone vs git clone

If I have git lfs installed on the client and I run: git clone is this equivalent to git lfs clone or will different results occur? Thank you! The answer to this question: Can one clone a Git LFS repo without installing Git LFS? seems to imply…
Fresh Codemonger
  • 1,125
  • 1
  • 10
  • 20
39
votes
2 answers

What does "Filtering content" mean when doing a git clone?

I cloned a git repo and noticed a status line Filtering content which was very slow. This doesn't usually appear. What is it? remote: Enumerating objects: 30, done. remote: Counting objects: 100% (30/30), done. remote: Compressing objects: 100%…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
38
votes
4 answers

GIT LFS: Get the complete list from the whole repository

I have only found git lfs ls-files but this command give only the list from a specific ref. There is a way to have the whole list of LFS object from a GIT repository?
Emeric Verschuur
  • 553
  • 1
  • 4
  • 9
37
votes
1 answer

How to convert a file tracked by git to git-lfs?

How do I convert a single file (e.g. a png) which is already committed as a regular object to git-lfs? I do not want to migrate the whole repo and I also do not want to rewrite the history of the repo.
Lars Bilke
  • 4,940
  • 6
  • 45
  • 63
37
votes
1 answer

How well does Git LFS handle small files?

Is there a best practice for the type files stored in Git LFS? Specifically for the minimum size? For instance, a 10mb music file would be a obvious fit, but what about a 25kb png? Is it worth putting in LFS or it better to just let Git handle…
James McMahon
  • 48,506
  • 64
  • 207
  • 283
35
votes
1 answer

Github actions actions/checkout@v2 lfs: true flag not converting pointers to actual files

This is my github actions yml file: name: CI on: [pull_request] jobs: build_ios: name: Set up runs-on: ${{ matrix.os }} strategy: matrix: os: [self-hosted] node-version: [10.x] steps: - name:…
SudoPlz
  • 20,996
  • 12
  • 82
  • 123
35
votes
2 answers

Smudge error: Error downloading

I'm not sure if this is the right forum to discuss git-lfs but as we have a tag for it I'll post my question. I have read the "Troubleshoot Git LFS in Bitbucket" page. I'm getting the following error when runing: ssh-agent bash -c 'ssh-add…
Dan-Dev
  • 8,957
  • 3
  • 38
  • 55
35
votes
4 answers

Git LFS refused to track my large files properly, until I did the following

Problem I had troubles trying to use git LFS, despite the many suggestions here on SO, on Git and GitHub's documentation, and on some Gists I'd run across. My problem was as follows: After performing the necessary steps: git lfs install git lfs…
Mike Williamson
  • 4,915
  • 14
  • 67
  • 104
35
votes
3 answers

How to specify where Git LFS files will be stored?

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…
Bryan
  • 383
  • 3
  • 5
34
votes
2 answers

Difference between git-lfs and dvc

What is the difference between these two? We used git-lfs in my previous job and we are starting to use dvc alongside git in my current one. They both place some kind of index instead of file and can be downloaded on demand. Has dvc some…
32
votes
2 answers

git lfs is not a command Mac OS

LFS git: 'lfs' is not a git command. See 'git --help'. I am facing this issue on mac os. iit lfs command is working fine on terminal. But when I am running this command from some script it is trying to find the lfs command into the git this is what…
Noman Maqsood
  • 419
  • 1
  • 4
  • 6
30
votes
7 answers

This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access

H! I installed LFS in my github repository to track my *.csv files but when someone else tried to upload other csv and I wanted to make the pull of my repository this was the result This repository is over its data quota. Account responsible for LFS…
coding
  • 917
  • 2
  • 12
  • 25
1
2
3
64 65