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

Git lfs: how to force user to update working copy before locking file

We use git-lfs to manage our Repository which contains many binary files. When user trys to lock a file using git-lfs, there is no checking, whether the file in working copy has the same version or newer than in remote repository. When the file in…
nvu
  • 137
  • 1
  • 7
0
votes
1 answer

How to reset Git LFS Storage?

I started to use git LFS because I worked on .wav files. But for no reason I receive github mails saying that my account is blocked for exceeded quota with 1.5GB over 1GB. However I want to reset this storage but I don't know how to do so. Can…
kaaldir
  • 41
  • 6
0
votes
1 answer

Is BLOB data in a Git Repo that bad when the data almost never changes?

I've read quite a bit on the downsides of storing large binary files in GIT. Usually there is a recommendation to use git LFS and the like. But most of the cautions seem to be regarding files that you are going to change from time to time. Are…
Joe
  • 5,394
  • 3
  • 23
  • 54
0
votes
1 answer

Is there a way to download a particular LFS file from a given repository commit?

I have a repository and it has LFS files. I want to retrieve a particular LFS tracked file from a previuos commit, without affecting the working directory. In other words, if I were to retrieve a non-LFS file (simple text file) from a previous…
anupamb
  • 472
  • 4
  • 13
0
votes
1 answer

Is "git lfs install" included in "git lfs migrate"?

Git lfs documentation says : Setup Git LFS on your system. You only have to do this once per repository per machine: git lfs install Now, since how I don't know the extent of what git lfs install does, how could I check git lfs migrate…
Tristan
  • 8,733
  • 7
  • 48
  • 96
0
votes
1 answer

Git | Use lfs to track files only for a certain remote, and treat them as regular files for other remotes

I have a repo containing large files, and I regularly push the repo to two remotes, let's say github and origin. github requires lfs for files larger than 100MB, no problem, I track those files and push to github successfully. But the problem is,…
tjysdsg
  • 656
  • 8
  • 19
0
votes
2 answers

git-lfs INSTALLATION ERROR : Syntax error: end of file unexpected (expecting ")")

I am working on Jetson nano platform ARMv8 Processor rev 1 (v8l) × 4. I downloaded and extracted the binary from https://git-lfs.github.com/ git-lfs-linux-amd64-v2.11.0.tar.gz Trying to install from the install.sh script provided in the download…
Tarik007
  • 474
  • 1
  • 4
  • 14
0
votes
1 answer

Deploy on Azure + Flask + Python3 + GIT LFS generates 'error: external filter 'git-lfs smudge %f' failed -1'

the use case I have built a web app using Python3 and Flask. The app works locally the app is stored on https://bitbucket.org deployment on Azure I create a new 'app service' I set the parameters: Linux machine, Python 3.8, deployed in West…
Abdelkrim
  • 2,048
  • 5
  • 30
  • 44
0
votes
1 answer

Git LFS Migrate fails with "could not update refs: exit status 129"

I'm running git lfs migrate on a clean --mirror clone of my git repo, using the following command: git lfs migrate import --include=/path/to/[dir_to_convert_to_lfs]/** --everything The output from this is: $ git lfs migrate import…
amaidment
  • 6,942
  • 5
  • 52
  • 88
0
votes
1 answer

Disable or properly install git LFS per remote

I have a git repository with two remotes configured. One of those remotes is a local bare git repository, accessed over ssh (its url is ssh://username@host:/home/username/repo.git) and it does not support git LFS. Is it possible to disable LFS for…
wl2776
  • 4,099
  • 4
  • 35
  • 77
0
votes
1 answer

How to remove a deleted file from git history - including rev-list

I have tried filter-branch, and got to the point where it is removed from git log, but still in rev-list. Then I tried bfg repo cleaner and it still is listed in rev-list. Ultimately I need it to be removed from rev-list because the file is missing…
Justin Pihony
  • 66,056
  • 18
  • 147
  • 180
0
votes
1 answer

Visual Studio, TFS and Git LFS: how do I setup remote storage?

From Microsoft documentation: Git LFS is an extension to Git which commits data describing the large files in a commit to your repo, and stores the binary file contents into separate remote storage. This sounds great, however I could not find…
CTZStef
  • 1,675
  • 2
  • 18
  • 47
0
votes
1 answer

GitAhead Large File Storage

Does GitAhead support Large File Storage? I attempted to clone one of our BitBucket repositories. It completed OK, but a large TAR file came down as only 1KB instead of several hundred MB. I looked for a way to enable LFS and did not find one. Do…
SteveM
  • 1
0
votes
1 answer

Azure DevOps & Locking Files with Git LFS: Are locks verified during push?

I'm new to the Git LFS locking feature, and have a question on how it works with Azure DevOps. Does it merely add read-only flags to the local branch? Or is there some magic on the server that prevents changes to locked files on the remote…
Adam
  • 1
  • 2
0
votes
1 answer

Should git ls-files list the files being tracked by LFS (git lfs ls-files)

I'm hoping this is a simple question - will git ls-files list the files I see from running git lfs ls-files? Or, are they managed and hence listed separately. This is the first time I've used LFS, I've an error appearing but before I dive into that…
ian
  • 12,003
  • 9
  • 51
  • 107