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 track fails on bare git repo

I'm converting SVN repo to a Git one. This finished succesfully and now I have a bare Git repo tham I'm trying to push to GitHub: git push -u origin master But this produces an error: remote: error: File root/data/big_file.conf is 187.98 MB; this…
mnowotka
  • 16,430
  • 18
  • 88
  • 134
0
votes
1 answer

Push large files to git repository hosted on tfs

I install and config lfs extension on my git repository and track ".ai" files. when I push the commit with these files got this error: Git LFS: (0 of 5 files) 0 B / 1.19 GB batch response: Repository or object not found:
thirdDeveloper
  • 855
  • 1
  • 10
  • 30
0
votes
1 answer

Accidentally committed a large file, rm --cached it but git still won't let me push

Earlier today I made a commit and a push to my repo. My commit included a large file (quantifications.csv) which gave me the typical error that it couldn't be pushed and that I should use git-lfs. I tried to remove the file from my history using git…
user1165927
  • 41
  • 1
  • 3
0
votes
1 answer

Only "which git lfs" doesn't work in windows prompt

I just started to use git and git-lfs several days ago, and this problem came out. I could use any git command both in Git bash and windows cmd but "which git lfs". It works fine in Git bash but not in cmd, it said 'which' is not recognized as an…
disccip
  • 573
  • 3
  • 5
  • 15
0
votes
1 answer

Cannot push to Bitbucket after installing git-lfs

After installing git lfs, git keeps asking for my password when trying to execute: git push origin master It's as if git was stuck in an infinite loop: No error message, nothing, but I am being prompted for my password over and over again. The repo…
Ali
  • 56,466
  • 29
  • 168
  • 265
0
votes
1 answer

Why can't git lfs find files?

Git LFS against Bitbucket has been working OK, but just now I got "Object does not exist." What is happening? How do I resolve it? > git lfs fetch --all Scanning for all objects ever referenced... * 780 objects found Fetching objects... Git LFS: (0…
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147
0
votes
2 answers

git-lfs-migrate with Bitbucket gives "/objects/batch 501 (Not Implemented)"

I'm trying to migrate our Git repo to LFS like this: java -jar git-lfs-migrate.jar -s our-repo.git -d our-repo-small.git -l https://user:password@bitbucket.example.com/bitbucket/scm/example/our-repo.git "*.jar" LFS is enabled for the repository,…
Michel Jung
  • 2,966
  • 6
  • 31
  • 51
0
votes
1 answer

'git lfs track' gives me incorrect "already supported" error

My .gitattributes file has a single line: *.exe filter=lfs diff=lfs merge=lfs -text git lfs ls-files shows me tracking 7 different *.exe files. I want to track another file, which is already part of the repository. When I execute the command git…
PortMan
  • 4,205
  • 9
  • 35
  • 61
0
votes
2 answers

Git LFS - fatal error different files missing on 2 different machines

I was migrating my existing repository to git lfs and it seems like somehow I managed to create a perfect storm. There are currently two machines: A and B. Machine A is missing the contents of the file X. I get an error when calling git lfs fetch…
julx
  • 8,694
  • 6
  • 47
  • 86
0
votes
0 answers

Git LFS won't ignore files

Trying to push a project to Github, but I have a couple of compiled (.exe and .msi) files that are larger than the 50MB size limits. I installed LFS from Github, tracked all .exe and .msi files, added a .getattributes, committed and tried to push…
Aaron Rumford
  • 556
  • 1
  • 7
  • 21
0
votes
1 answer

Does the --git argument in git-lfs-migrate tie the destination repo to that argument somehow?

The --git argument to git-lfs-migrate (and the --lfs argument) point to a remote server. Does that imply that the converted repository specified by --destination is somehow linked with this remote server? As far as I can tell, no LFS objects are…
Ben Hymers
  • 25,586
  • 16
  • 59
  • 84
0
votes
1 answer

Smudge filter lfs failed when cloning Visual Studio Online Git repository

I'm trying to use git-lfs with a Visual Studio Online Git repository to store code alongside some large CSV data files. I downloaded the git-lfs installer, restarted git-bash, ran git lfs install, cloned an empty repo, and ran git lfs track "*.csv".…
mtmacdonald
  • 14,216
  • 19
  • 63
  • 99
0
votes
0 answers

Smudge Error downloading .pdf from origin using git [error: external filter 'git-lfs smudge %f' failed]

I'm running git from command line on Sierra. I get the following error when I run git pull. It asks me for my ssh passphrase twice for some reason; which it never did before Enter passphrase for key '/Users/nihavd/.ssh/id_rsa': Updating…
0
votes
1 answer

Can't clone nor stage git with lfs through egit

Enviroment I did setup an test enviroment for git-lfs. This includes Git 1.9.5, Eclipse 4.6.2 and EGit 4.4.0/4.6.0. git-lfs is installed and works. Eclipse shows the right git configuration parameters set by git lfs install…
Jan
  • 1,004
  • 6
  • 23
0
votes
1 answer

Git LFS cannot clone specific file on an specific computer

I have a repo using Git LFS. In most computers it works nicely. However, I have an specific PC in which the cloning freezes at a very specific file (always the same file, and at the same percentage). It does not show any smudge error or anything,…
Javi
  • 3,440
  • 5
  • 29
  • 43