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

Error from Git LFS when cloning a BitBucket repository with eGit

I'm getting errors when cloning a repository with a Git LFS filter using Eclipse eGit. git-lfs 2.4.0 is installed via brew and in the usual location. $ which git-lfs /usr/local/bin/git-lfs Cloning over HTTPS on the command line works fine. $ git…
RjOllos
  • 2,900
  • 1
  • 19
  • 29
0
votes
1 answer

Git LFS doesn't track .gitattribtes on subfolders

I have like 9Gbs of folders and files for Git LFS to track. I specifically specified Git LFS to track those files with their own individual .gitattributes on their respective directories. Uploaded (to Bitbucket) only had 2Gbs. Do I have to put just…
ruelluna
  • 787
  • 1
  • 11
  • 30
0
votes
0 answers

Re-wrote git history with bfg but not reflected in earlier commits

A huge folder in my repository has filled up my LFS. As instructed here, I wish to remove the folder from the remote repository and then re-write history to drop it from all previous commits. That should free up lots of space in my LFS, but is not.…
emagar
  • 985
  • 2
  • 14
  • 28
0
votes
2 answers

Trying to git push three large text files to Github using git lfs

After installing git lfs v2.3.4 for Windows, and enabling my repo to use lfs on all my .txt extension files using the following. git lfs track "*.txt" git add .gitattributes Inside my .gitattributes, *.txt filter=lfs diff=lfs merge=lfs -text When…
Eat at Joes
  • 4,937
  • 1
  • 40
  • 40
0
votes
1 answer

Git (or tortoisegit) marks LFS file as modified, prevents push or pull

I'm having a problem with our git repo. We have one LFS file that is only ever modified by one of our users, on a mac. The mac user pulls and pushes without incident. But on the Windows dev's PC, git (or tortoisegit) automatically marks the LFS file…
RealHandy
  • 534
  • 3
  • 8
  • 27
0
votes
1 answer

Android project assets consume enormous amount of space in Git repo

In my Android project, I have a lot of heavy binary assets under /src/main/assets. There's numerous files that collectively add up to tens, maybe hundreds of megabytes. Git LFS might not be an option here due to the number of files, but I'm…
void.pointer
  • 24,859
  • 31
  • 132
  • 243
0
votes
0 answers

Items still not letting me push in github after deleting them

First time asking a question here. I have been using Github and UE4 for a while now and when I have an asset that exceeds the 100mb limit in Github I add it to LFS. However I forgot to add these items (SEE IMAGE BELOW) to LFS and tried to push my…
0
votes
1 answer

Setting up git large file storage

I have updated some files in my development project, and successfully committed them. When I try to push them, I get the error that the files are too large, and that I must set up git-lfs, and my push fails. What is the best way to set this up?…
Rotavator
  • 123
  • 9
0
votes
0 answers

How to deal with medium-sized binary files in GIT?

All our team uses Windows machines. I have a certain number of medium-sized binary files used by my program. In total about 100 megabytes. These files seldom change, therefore I don't want every commit to include all of them. Initially I wanted to…
0
votes
1 answer

Merging a remote .gitattribute file with local .gitattribute file with merging strategy union

I am working with git p4 rebase and git LFS. unfortunately after syncing the P4 contents to local git repo, it removes all the existing LFS tracked files from .gitattributes, and adds files to .gitattributes that were synced. example: Local and…
0
votes
0 answers

git-lfs speeding up checkout

I want to work with git-lfs. So I cloned my current repository, created a branch and pushed some files: git clone git checkout -b lfs-test git lfs install git lfs track "*.log" mkdir data mkfile -n 1g data/test.log git add . && git commit -m…
Kevin
  • 1,232
  • 10
  • 28
0
votes
1 answer

Moving from bitbucket to self-hosted gitlab, LFS is 0 bytes

I have imported my bitbucket repo into a self-hosted gitlab project. Everything seemed to work fine, but when I check the project info, the project is only 94mb and LFS is 0 bytes. In bitbucket when I check LFS info, there's about 800mb of data.…
Arvin
  • 1,391
  • 4
  • 19
  • 33
0
votes
0 answers

How to stop Bitbucket and Git LFS file Duplication

I am using Bitbucket and Git LFS to store binary files for a project I am working on. What I have found is that i very quickly run out of storage and the cause seems to be that each time i push a change LFS will add a new file to the server instead…
Austin L
  • 336
  • 1
  • 17
0
votes
0 answers

Can't access videos from Git LFS

I'm trying to use Git LFS to store some videos that I would like to access in an iframe. I was able to push to Github just fine, but now that I am trying to access the videos via the provided url, I get this error: Refused to display…
0
votes
0 answers

git- Handling and tracking versions of a file

I am experimenting with using git along with Git LFS to version control my filmmaking workflow. I have two questions: 1) Is there a way I can track all versions of a file? git log gives me all the commits that involved that file, and…