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.
994
questions
0
votes
0
answers
15
views
github large file issue while trying multiple commit
I am using GitHub and BitBucket, both as remote origins. The repository which is on GitHub does not have any node_modules folder. Everything is working good on BitBucket branches, the issue is only ...
0
votes
1
answer
84
views
Moving a git repository with lfs to another server without moving lfs
I have a git repo on Azure DevOps with LFS on Artifactory.
I want to move the repo to GitHub without touching LFS.
The error I keep getting is:
Your push referenced at least 240 unknown Git LFS ...
0
votes
0
answers
21
views
Install package from git including git-lfs files with poetry
I have a package in a private repository that I am referencing in another python project. The repo I am using as a dependency has some ML model files stored in GitLFS Everything in both repositories ...
0
votes
0
answers
25
views
(missing) Corrupted LFS files with the Gitea server down
I've lost my Gitea server, and I've built a new one. However, when I try to push my local repository, I encounter numerous LFS corrupted files.
Below is a log from an attempt to push my local ...
0
votes
0
answers
30
views
Git LFS accidental migration "corrupted" my java files
I wanted to upload a project to GitHub to share with my laptop, there was a 500mb file in the project. I added git lfs to push the big file aswell , accidently made every file into an lfs file. Now ...
0
votes
0
answers
46
views
speed up 'git lfs migrate' on an extremely large repository
I'm migrating repositories to github. I have to migrate several of them to lfs because they contain large files.
One of these repositories has over 150k commits. As a result git lfs migrate would take ...
-2
votes
0
answers
21
views
I used Git LFS but still can't push large files [duplicate]
I only have basic knowledge of git commands and It's my first time using Git LFS. i have to push my files to GitHub but my 104mb or so apk file from the game i am making prevents me.
If i do a normal ...
0
votes
1
answer
69
views
Azure DevOps: git push fails with LFS with large file (>150MB)
Even though Azure DevOps docs mention that file size limit is 5GB even without LFS, all of my pushes with LFS file of size larger than ~100MB fail with this message that I find difficult to extract ...
0
votes
0
answers
27
views
Gitea LFS mirroring is failing due to x509: certificate signed by unknown authority
We are using two Gitea servers version 1.16.9. The second Gitea functions as a mirror for the first instance. The mirrors are set up with the HTTPS protocol. The initial sync is done successful, but ...
1
vote
0
answers
54
views
git clone and git lfs pull doesn't pull the LFS files at all
I'm cloned a repository via SSH and it seemed to clone everything without an issue. Then I moved into the respective folder and then did git lfs pull. However, this is greeted with no objects being ...
0
votes
0
answers
62
views
Git LFS Repo Fails To Checkout On Jenkins With Status Code 130
I have several CIs set up on Jenkins to simply checkout master from a git LFS repo when there are new commits.
Every time the job builds however, it fails with the following error message:
Checking ...
1
vote
1
answer
20
views
Github Pages long build time with React
I am deploying to Github Pages on a gh-pages branch and it does so successfully with npm run deploy.
However, this repo will eventually contain a LOT of mp3 audio data (I'm using Git LFS) and when I ...
-1
votes
1
answer
40
views
How to upload a complete Pycharm project folder that contains more than 100MB files
Im new to github
I have tried uploading small projects to the repo
I used direct drag and drop to upload files and it worked
But when it comes to huge files it just shows up errors
How can i add huge ...
0
votes
0
answers
14
views
laravel srmklive-paypal error GH008 while pushing to repository
I installed in my laravel application the paypal package from srmklive.
now iam not able to push my repository to github.
git push -u origin main
Objekte aufzählen: 1244, fertig.
Zähle Objekte: 100% (...
0
votes
0
answers
12
views
Can I setup git lfs to publish files to a local directory but point to them via a specific url?
I work on a cluster computing system that makes specific directories available via a web interface, ex: https://data.myuni.edu/external/myproject accessed on the cluster via /storage/mygroup/external/...
0
votes
0
answers
42
views
GitHub Actions Checkout with LFS (Private Repo)
I am storing large files in JFrog Artifactory and rest of the code in GitHub. I am trying to use GitHub Actions Checkout to get the Git Repo code as well as files from the Artifactory.
Since my ...
0
votes
0
answers
34
views
I want to get rid of the batch or the not found object from the old `git` LFS repository before pushing
I want to get rid of the batch or the not found object from the old git LFS repository that I deleted. Here is the result:
git push
warning: redirecting to https://gitlab.com/ooh/biography-images.git/
...
0
votes
0
answers
28
views
Git commit is corrupted even if I removed big sized file from my PC's cloned folder [duplicate]
Please read this below context with a little patience and give your suggestion to solve the error!
I made a website https://vitspace.netlify.com/
but I am unable to commit changes because I have ...
0
votes
1
answer
130
views
Can`t push Git LFS repository to google cloud server
I have a repository configured as a LFS git having a .gitattibute.
I have followed this tutorial
I have created a remote repo using gcloud source repos create myTestLFS
Have cloned using gcloud ...
0
votes
0
answers
18
views
Using clean filter with fast-import
I'm using Git LFS and a tool that create commits using fast-import (Mike plugin for MKdocs), using the inline format. So the tool reads my files tracked and produce the Stream. As a consequence, Git ...
0
votes
0
answers
53
views
how to fix batch response: resouce not found issue when using git push with LFS
When I use git push to push the source code with large files, shows error like this:
> git push
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s, done.
batch response: Resource not found
error: ...
0
votes
0
answers
19
views
Remove LFS files in Github Repo
I have been pushing many branches to the Github repo using LFS. At the time I found out how to use LFS, I did not know that it keeps track of all the files from all branches. In the past 2 weeks I am ...
0
votes
0
answers
16
views
How can I prune all git-lfs files except the first and last versions?
I have many versions of various binary files in git-lfs. I would like to retain the last (most recent) version and the first (original) version.
For example, of any asset in my project, the latest ...
0
votes
0
answers
59
views
why is the .git folder huge when cloning a hugingface repo?
I was downloading bloom using git lfs clone https://huggingface.co/bigscience/bloom --depth 1
It took all night long. I ended up with a 1.5 TB folder where the desired model were:
Alongside a huge ....
0
votes
1
answer
48
views
Github rejecting large file despite lfs
I have a large file which is tracked with lfs. However github still rejects it.
I actually was able to bring the file size down considerably but I still can't push.
I've verified that the file is ...
1
vote
2
answers
78
views
Deleted the LFS objects from GitLab repository however storage space still not freed up
I have a GitLab repository, and using the feature branch, remove-lfs I pushed some LFS objects after running these commands in the same order
git lfs install
git lfs track "lfs/*.mp4"
git ...
0
votes
0
answers
15
views
Why can't i choose the option 'Allow projects within this group to use Git LFS' in group's setting of gitlab?
The panel.I want to open the assess of lfs in my group,the picture above.
But when i click it and try to save change, it always be the state of unselected.I need help everybody, thanks!
I except it ...
1
vote
1
answer
39
views
reconcile git divergent branches with same commit message
a migration to a new git remote went wrong; git-lfs was removed for some branches but not all. We have functionally similar branches that have diverged at the root.
That is
Branch 1
A-B-C-D-E-F
Branch ...
0
votes
0
answers
27
views
git lfs file once tracked by git cannot be tracked by lfs
I'm trying to use git LFS with a binary file (200 MB in size).
I think I have messed up adding it the first time, so it was tracked by git and not with git LFS.
Then I could not get git to track it ...
0
votes
0
answers
24
views
Inconsistencies while pushing git lfs files
I am trying to push my commits in a git repo so that I can access my saved model in kaggle and take the weights without training again. The problem is I am getting error messages again and again and ...
0
votes
0
answers
22
views
How to tel Git LFS to accept one large XML file only
I installed GIT LFS but now when I try to push my files, it tells me that one of my XML files is "larger than the allowed size of 1MB", which is true.
We have a lot of XML files in our ...
1
vote
1
answer
102
views
Why am I unable to push large files to GitHub despite tracking with Git LFS?
I'm facing an issue while trying to push a large file (src/data/indonesia-cities.json, size: 139.64 MB) to GitHub. I understand that GitHub has a 100 MB file size limit, so I tried using Git Large ...
0
votes
0
answers
27
views
How do I push to Github if I have previously committed a large file which has become small after more commits? [duplicate]
I have around 4 commits that need to be pushed to Github. Out of the 4 commits, I had committed a large file(over 100 MB) in the first commit, which has become smaller(65MB) in the fourth commit. But ...
1
vote
2
answers
668
views
Error: fatal: --local can only be used inside a git repository
Today when I run the github actions, shows error like this:
Error: fatal: --local can only be used inside a git repository
this is the full log about the actions log:
Run actions/checkout@v3
Syncing ...
0
votes
1
answer
92
views
Unable to clear unwanted large files from gitlab repository
I'm trying to remove some unwanted large files from this branch using the git filter-repo command (git filter-repo --strip-blobs-bigger-than 5M --prune-degenerate always --force) as stated in this ...
0
votes
1
answer
31
views
Previous commits showing git LFS pointers instead of file diff
My git repository has some git-lfs managed files. I was getting some errors with git lfs and I was trying to fix them.
Unknowingly I ran
git lfs migrate import.
I ran into an issue now where all the ...
0
votes
1
answer
57
views
Can't ignore some binary files under one folder by using git-lfs
Here is my .gitattributes file.
[attr]lock filter=lfs diff=lfs merge=binary -text lockable
[attr]lockonly lockable
[attr]lfs filter=lfs diff=lfs merge=binary -text
[attr]lfstext filter=lfs diff=...
0
votes
2
answers
33
views
Receiving " ! [remote rejected] main -> main (n/a (unpacker error)) " while pushing .tar file, which is about 280MB
I am new to git-lfs. I am constantly facing an issue while pushing a .tar file inside a git repository. Following are the steps taken:
git lfs install
git lfs track "*.tar"
git lfs track ...
-1
votes
1
answer
58
views
Access the .sql files with git lfs
I have a existing repo(not a git) on my localmachine. It is using postgresql. But it has database files are stored on git-lfs. So, How do i impost that files on my loca database?
The file contains :
...
0
votes
0
answers
44
views
Delete large file from git/lfs folder
I recently pushed a ~130 Mb file to my Github repo using LFS. I then realized this was a bad idea and removed it.
The problem is that it is still there tacking up space in my history and my quota:
...
0
votes
0
answers
64
views
OSError: Unable to open file (File signature not found) in ec2 instance
I have trained a lstm model from which I could able to make predictions using model.h5 file (used model.save(model.save(/path/)) to save model). But the same code when deployed in ec2 instance while ...
0
votes
0
answers
16
views
I have initialized git LFS in my repo and added extensions in the gitattribute for it to track but the size is still not reducing, what do I do?
My bit bucket repository has exceeded the** 4GB limit** so I initialized git LFS in my repo and added **extensions **in the gitattribute for it to track but the size only reduced by a few MB so I ...
0
votes
0
answers
54
views
Git (LFS): error (pre-receive hook declined) error: failed to push some refs to
Prerequisites:
GitLab Self-Hosted via AWS EC2
GitLFS v3.3.0 installed on both server/client
Trying to commit/push a small bunches of .obj files with success
Trying to commit/push a big folder of .obj ...
0
votes
1
answer
153
views
Using environment variables in .lfsconfig file?
In order to have GitLFS integration, should add .lfsconfig file to root dir with the following structure
[lfs]
url = "https://myJfrogUserName:...
1
vote
0
answers
45
views
"GitLab: LFS objects are missing" - How do I delete every trace of LFS in my repository?
I'm migrating a repository from one origin to another. After updating my remote urls, and running git push, I get the error "GitLab: LFS objects are missing."
I would like to delete any ...
0
votes
0
answers
26
views
Pushing commits to gitlab LFS using the https API
I was wondering if there is a method in Gitlab's REST or GraphQL API (Gitlab Community Edition 15.11.2) to commit images while saving them in the LFS (Large File Storage). I'm aware that there is an ...
0
votes
0
answers
54
views
cannot use git lfs command in GitHub actions
Giithub link
In the first step action-cached-lfs-checkout, git lfs works.
But, in the second step composed by my self, it warns
git: 'lfs' is not a git command. See 'git --help'. sync with an ...
0
votes
0
answers
118
views
is it possible to specify the github actions's lfs files checkout url
I have tried to store the git lfs large files in a seperate location. Now when run the Github Actions, I want to pull the source from github, and the LFS files from the seperate location. this is how ...
0
votes
0
answers
35
views
is it possible to migrate the git LFS file from github to another repo
I am store the source code repo's large font file in Github LFS right now. Because the brandwidth is reach the maxiumn and I could not pull the file from LFS, is it possible to migrate the LFS from ...
0
votes
0
answers
50
views
Redirecting git lfs from global repository to a local one
I have a pc with an access to some web repository with lfs (pc_1) and have another pc (pc_2) that has access to pc_1 but not to the web repo. I try to clone the repository from pc_1 to pc_2 via ssh, ...