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 Large File Storage - remote: fatal: pack exceeds maximum allowed size

I am using Git Large File Storage and I have 50 GB of Git LFS Data storage (and bandwidth) available on GitHub. I would like to push multiple tar files, totaling 40 GB. The largest of the files is 30 GB. On my mac, I did the commands: git lfs track…
Joseph
  • 431
  • 1
  • 4
  • 15
0
votes
1 answer

"Error parsing URL" when cloning repository using GIT LFS

I am trying to clone a GIT repository from Bitbucket which apparently uses GIT LFS: git clone git@bitbucket.org:companyname/repository-name/ While cloning the repository partially works, I get the following error: Error parsing URL…
Florian Winter
  • 4,750
  • 1
  • 44
  • 69
0
votes
1 answer

git-lfs .gitattributes file: strange unicode characters

I am using git on windows. I added the following line to .gitattributes file: "*.msi" filter=lfs diff=lfs merge=lfs -text Then I checked with git lfs track but nothing shows up. Then I tried adding with git lfs track "*.msi". Now it shows up when…
MuhKuh
  • 356
  • 1
  • 16
0
votes
0 answers

Last 10 days of work is lost after git push --force

I tried to add pattern to GIT LFS today and all the work in the last 10 days are gone!!! The last commit seen is 11th Nov. All the work in between are all gone!!! Last week I added *.html to GIT LFS. Today I tried to add *.{html, svg} and this is…
Kok How Teh
  • 3,298
  • 6
  • 47
  • 85
0
votes
1 answer

Is SSH Stateful or Stateless?

I am a git user and my context here is git clone using ssh protocol. When I use git operations using SSH protocol, I have the following questions. The git clone command for ex: git clone ssh://git@:7999/text/large_files.git During this…
rgh
  • 40
  • 2
  • 11
0
votes
1 answer

How to clone clarifai-android-sdk using "git lfs"?

I want to create an object detection application using clarifai android library found in the following link: clarifai android The documentation is very clear but the problem is in cloning the clarifai-android-sdk using git-lfs and this what is…
Amr Ragab
  • 329
  • 1
  • 2
  • 14
0
votes
2 answers

git push not showing on github and still lfs error

I recently made a new directory on my local and copied all my changes from another project using a different source control into this new directory. Inside the new directory I did git remote add origin git@github.com/user/repo.git //ssh url to my…
henhen
  • 1,038
  • 3
  • 18
  • 36
0
votes
0 answers

Git reports large file error despite using Git LFS

This is the folder I'm trying to add to my GitHub as a repository. As you can see, Train.csv and TrainAndValid.csv exceed GitHub's 100MB limit. To fix this, I decided to use Git LFS. In the Git Bash, I typed the following commands: git lfs…
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78
0
votes
1 answer

Using git-lfs how do I setup a new branch with a new repository while keeping the old branch and repository?

So there are quite a few questions on git in regards to setting up a new repository and adding branches etc, but in my case the extra element of git-lfs has caused quite a bit of trouble. I actually have the answer (something that is working in a…
Bob
  • 388
  • 5
  • 19
0
votes
1 answer

git lfs ls-files -I filter doesn't work with non-ASCII folder names

git lfs ls-files -I filter seems not to work with non-ASCII folder names even when the filter is passed in octal encoding, as can be confirmed with the bash script below: mkdir LfsTestRepo cd LfsTestRepo git init git lfs -v # git-lfs/2.7.2 (GitHub;…
Eugene Podskal
  • 10,270
  • 5
  • 31
  • 53
0
votes
1 answer

Why is content of an LFS file showing LFS metadata?

I have two repos on two different machines cloned from the same source. I am inspecting the same branch on both the repos (exactly the same point as verified by the commit id). The repos have no modified or staged files. When I try to see the…
anupamb
  • 472
  • 4
  • 13
0
votes
0 answers

Automating git clone of several Git repositories without user intervention

I am trying to automate git cloning of several repositories using Python.Ideally I do not want to have any user intervention when cloning of repositories starts. But I am ending up with prompts listed below for each repository cloning where I have…
0
votes
2 answers

Upgraded to rails 5.2, and now when I push to heroku, why is it being prevented because of git-LFS (which I'd never heard of before today)?

"This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push." I've never heard of git-LFS, much less installed it, before. This…
Nick
  • 63
  • 6
0
votes
1 answer

Push to Github failed because it can't find LFS file?

I'm trying to push local commits to my repository on Github, but I keep getting this error. Uploading LFS objects: 0% (0/1), 0 B | 0 B/s open E:\Unity Projects\MysteryNarrative\Assets\NotificationsSamples-…
j76goatboy
  • 405
  • 2
  • 7
  • 16
0
votes
1 answer

Git-LFS add filetypes (without doubling repo size)

I have a big repo on GitLab.com (8GB) with some assets (textures, etc). I decided to use git lfs for the sometimes above 50MB files. I started with git lfs migrate import --include="*.png" and did git reflog expire --expire-unreachable=now --all git…
Mechandrius
  • 323
  • 2
  • 12