1,031 questions
1
vote
0
answers
90
views
Using `git lfs` with SSH on GitHub gets stuck at `git-lfs-transfer`
I noticed that git lfs operations (push or pull but especially push) with GitHub keep getting stuck running git-lfs-transfer. This is slowing down all of my git operations which call git lfs via hooks....
0
votes
0
answers
50
views
git-lfs treats file as "outside repository" when run in Distrobox
I an running a Bazzite Linux machine where the core system is read-only, so for development tasks I use an Ubuntu image in Distrobox where my system's home directory is exposed to the Distrobox ...
0
votes
1
answer
40
views
Git LFS: I pushed many commits with --no-verify and now LFS files are missing. How to fix it?
There are suggestions to do git lfs push origin --all but the repo is huge and this command will run forever and even then I'm not sure if it will work since git lfs fsck thinks everything is fine.
I ...
0
votes
0
answers
54
views
Split git LFS upload into parts
I'm trying to git push huge file by git lfs, to a server using Cloudflare tunneling. Cloudflare has per-request timeout of 100s, which is not enough to transfer whole file, which causes 524 http error ...
2
votes
1
answer
157
views
Convert files from git to git lfs (and rewrite the history to remove them)
TLDR: I would like to migrate to git lfs (or even just remove) a specific filetype *.fmu from my repo, and rewrite the history. I have tried 3 methods with no success for *.fmu, but limited success ...
0
votes
0
answers
55
views
LFS files marked as modified on a worktree to bare repo
I have a bare repo and a worktree associated with it. Ran git lfs install, setup some lfs filters then ran git lfs pull and the lfs files appear as modified. From what I understood the step that makes ...
0
votes
1
answer
58
views
Heroku Git-LFS push error, mistakenly added git-lfs to app, then pushed pdfs, now hung in build = crash
After git push heroku main even with force:
batch response: Repository or object not found: https://git.heroku.com/app.git/info/lfs/objects/batch
Check that it exists and that you have proper access ...
1
vote
0
answers
115
views
Git LFS tracked file still served as pointer inside Docker + nginx setup
We're hosting a Unity WebGL project using Docker, nginx, and GitHub. It has several builds underneath projects folder, and everything was working fine until I decided to switch to git LFS. After ...
-1
votes
1
answer
116
views
remote: GitLab: LFS objects are missing. Ensure LFS is properly set up or try a manual "git lfs push --all"
I am trying to move the source code across some different git repos.
Both are using git as the vcs.
Here are the steps I am following-
git clone --mirror
cd
git remote set-url origin <...
1
vote
0
answers
455
views
git lfs not working with github / ssh issue
I have a new repository with no commits. I'm not having issues with files that were committed to git and moving them to lfs.
> git version
git version 2.39.3 (Apple Git-145)
> git lfs version ...
0
votes
0
answers
34
views
control LFS status of file about to be committed using tortoisegit
I'm using tortoisegit and I miss a feature like adding a column in the commit windows that indicates if the file is managed with git LFS or not.
Currently I need to use git lfs status for this but the ...
1
vote
1
answer
246
views
Access a Git LFS server behind mTLS, with a PKCS#12 client cert
I have a git repo hosted on GitHub, and a giftless Git LFS server self-hosted on my own public cloud. I use a .lfsconfig to point the commit hooks to my lfs instance instead of GitHub's. This works ...
0
votes
0
answers
42
views
Git LFS - should I run lfs push --all if I have no lfs/objects directory?
I run backup of multiple repos using two steps:
i) git lfs fetch --all
ii) git clone --bare
Now when I want to restore multiple repos, I run it via 2 commands (all automated):
i) if .git/lfs/objects ...
0
votes
2
answers
87
views
Importing Bitbucket git repo to Azure DevOps; getting LFS failure at local fetch
Having the same problem and trying to follow steps here:
Importing repository in Azure DevOps with Git LFS
At step 3 in the second answer, I get output that looks correct to me:
$ git lfs fetch source ...
0
votes
0
answers
125
views
GIT LFS vs Annex For Thousands of Unchanging Binaries
I have been using GIT at work for close to 15 years, and while we are not super low level, we do know enough to be dangerous.
Now here is our issue, we have repositories (using LFS) that have ...
1
vote
0
answers
53
views
Issue with Git LFS Synchronization Performance Compared to SVN + Rsync
We have a self-hosted Git LFS server that uses an AWS S3 bucket for storage, currently holding around 700 GB of data. I also have 20 client servers (read-only) that use a script to fetch data from ...
0
votes
1
answer
97
views
Git-LFS has wrong path for ssh
How do I configure my git / git-lfs ssh command path correctly?
i configured my git ssh command like this:
git config core.sshCommand "C:\\Windows\\System32\\OpenSSH\\ssh.exe -i C:\\Users\\Admin\\...
0
votes
0
answers
89
views
Facing issues with git lfs authentication on mac sequoia, but works on windows 11
git version 2.39.5 (Apple Git-154) in /use/bin/git
git-lfs/3.6.1 (Github; darwin arm64; go 1.23.3; git ea47a34b) in /usr/local/bin/git-lfs
I have set user.name, user.email and core.sshcommand=ssh -i ~/...
1
vote
0
answers
59
views
Storing the latest git-lfs file only in the HEAD of a branch to save storage
I don't have enough git lfs storage to store the tar of my docker image upon each commit. The image is supposed to be private and I don't want to create my own docker registry.
Is there a workflow ...
0
votes
0
answers
78
views
Git LFS does not work normally when cloning local remote repo on windows system
When I cloning a local remote repository using Git LFS on Windows, pointer files are not created for files being tracked by Git LFS; instead, the actual files themselves are copied directly. This ...
0
votes
0
answers
74
views
Import Custom packages in Unity using LFS
Problem Summary:
I am working on a Unity project that uses several custom packages, each stored in its own GitHub repository. These repositories include large files tracked with Git LFS. When I clone ...
0
votes
2
answers
121
views
Git LFS include all file extensions except for some
I'm trying to include all (data) files in LFS except if they have the .(r|R) or .(cpp|CPP) extension, but somehow both extensions end up in LFS too, and I'm unable the remove them from it. This is ...
2
votes
0
answers
64
views
How do I get rid of git lfs?
Some time back a repo I'm working on used lfs, but we've moved on and its not needed. I tried adding some documentation that included a png file. lfs will not stop blocking the push and I can't figure ...
1
vote
1
answer
83
views
Gif LFS tracking zero-byte files?
I've inherited a repository that has been using Git LFS to track certain extensions. I want to remove all files from LFS and to stop using it entirely.
After I untrack all extensions (i.e. leaving an ...
0
votes
0
answers
67
views
Git LFS Server Error when Uploading RTF File
I want to track a single .rtf file of 55 MB using this command:
git lfs track "folderA/folderB/file.rtf"
I've also tried adding in a --filename flag. After some time, the server errors out ...
0
votes
1
answer
62
views
Why are old files automatically stored with Git LFS without migration?
I recently started using Git LFS and followed the documentation, which states that only new files matching the tracked patterns will be stored with Git LFS. To include existing files, the ...
0
votes
1
answer
197
views
Git LFS storage issue
I recently set up a repo with git lfs (I am working on a specific branch). When I did this, I accidentally committed a lot more files with lfs than I had to thinking lfs will automatically filter ...
0
votes
1
answer
27
views
Visual Studio couldn't link to dlls - git lfs problem
Bottom line - git lfs wasn't installed
I pushed some 3rd party dlls to my repo at one PC. I marked the dlls to be a git lfs registry.
At another PC I cloned the repo, and the project didn't compile. ...
1
vote
1
answer
77
views
Rebase part of one repository history on top of a similar but different repository
We have a couple of repositories, let's call them RA and RB which are similar but not the same. RA is a export of an SVN repostiory were some libraries were extracted in the export process and RB is ...
1
vote
0
answers
331
views
How to handle "exceeds GitHub's file size limit of 100.00 MB" when migrating from Azure DevOps to GitHub using Git LFS?
I'm in the process of migrating a repository from Azure DevOps (ADO) to GitHub and encountering issues with large files during the push process. I'm following these steps:
git clone <github-repo-...
0
votes
1
answer
337
views
Get file path from git lfs object hash
I'm currently faced with a git lfs error that prevents me from pushing a local commit to the remote server. The error message contains the hash of a potentially problematic git lfs object, but not its ...
0
votes
1
answer
52
views
npm run deploy error due to error github file size limit
I get this error after I run npm run deploy (npm run build works fine). It says it's due to large files but I already set up git lfs. the second screenshot shows it is supposedly tracking the files. ...
0
votes
0
answers
257
views
Is it possible to completely remove previously tracked objects from Git LFS server on GitHub?
In a github repository I have the quota for Git LFS exceeded.
How to see current data/quota for Git LFS on GitHub?:
Access your organization GitHub web page > Go to your organization's Settings ...
1
vote
0
answers
123
views
git lfs pull fails in docker container on jenkins
I want to create a build job for one of our java projects on our Jenkins. The pipeline is a multi-branch pipeline and unfortunately it is not possible to install git-lfs on our Jenkins-slaves to I ...
1
vote
1
answer
380
views
Do all GitHub Desktop users need to have GitLFS installed?
I'm running a project on a team of 32 people. We are all using GitHub desktop. When I setup the repository, I set up GitLFS. Do all 32 people using GitHub Desktop need to install and run the ...
0
votes
0
answers
189
views
Reduce repo size with Git lfs
We have a large repository with 280 gigabytes. We wanted to reduce this repository using Gitlab and Git lfs by tracking some files and moving them to the lfs storage. However, this only worked to a ...
0
votes
0
answers
47
views
Can't push a mp4 file to github with PyGithub
I am trying to push a mp4 file from my local storage to my github repo using PyGithub with the following code.
from github import Github
import base64
# Authenticate to GitHub
token = "my_token&...
1
vote
1
answer
41
views
How to configure different Git LFS settings for subfolders?
I want to enable Git LFS for a certain file type repo-wide, but disable it in selected subfolders, i.e., accomplish a modular management of LFS in a Git repo.
As pointed out on https://git-scm.com/...
1
vote
1
answer
1k
views
Git LFS persistently uses HTTPS instead of SSH despite SSH configuration
I'm encountering an issue with Git LFS where it persistently uses HTTPS instead of SSH, despite all my configurations pointing to SSH. This is causing problems when I try to push to my repository.
My ...
1
vote
0
answers
31
views
Multiple Git LFS Repository in a Git Repo
Is it possible to have multiple Git LFS repo for a single Git Repo?
I have .lfsconfig file with below contents
[lfs]
url = "https://USERNAME:PASSWORD@URL"
[remote "LFSRepoB"]
...
0
votes
0
answers
154
views
How to make checkout of a repository using git-lfs fail if git-lfs isn't installed
It seems that if you try to clone & checkout a git repository which makes use of git-lfs, while the current machine doesn't have git-lfs installed, it simply 'works' without any errors or warnings,...
0
votes
0
answers
29
views
Large file not pushing to GitHub [duplicate]
I added a file (.mlpackage) of 774.96MB to my project, and it won't push to github because it exceeds their 100MB file limit.
As instructed by my terminal, I've used git lfs, however the file still ...
1
vote
1
answer
211
views
Git/GitLab – reject commits with raw binary files instead of LFS pointer files
We are using Git LFS to store .png files in our GitLab repository. However, there is a possibility a commit will contain a raw .png file instead of a Git LFS pointer file. (For example, someone might ...
3
votes
0
answers
202
views
Repeated SSH Passphrase Prompts During Git Push with LFS-enabled Repository
I'm experiencing repeated prompts for my SSH passphrase when performing a git push in a repository that uses Git LFS. This repository is a backup tracking a large amount of work, and the issue occurs ...
0
votes
1
answer
44
views
Unable to clone git repo
i am try to host my repo through streamlit cloud services it , it is failing to clone the repo ,
.
i got the mail form git lfs as,
Git LFS has been disabled on your personal account Mohansharma13
...
1
vote
1
answer
617
views
How to prevent Git LFS files from being downloaded during clone? [duplicate]
How can I exclude Git LFS files from being pulled during a clone?
It seems that git lfs clone is deprecated, but there is no exclude option for git clone:
git lfs clone -X "*.*" MY_REPO
...
0
votes
0
answers
327
views
LFS-enabled git clone stuck on 81%, always
git clone https://github.com/XX/XX.git
Cloning into 'XX'...
Username for 'https://github.com': XXX
Password for 'https://[email protected]':
remote: Enumerating objects: 24897, done.
remote: Counting ...
0
votes
0
answers
43
views
GIT LFS - get file from repository
I am using curl command with private token and url to download a file from remote repository.
For example such way:
curl --header "PRIVATE-TOKEN: glpat-123abc" "http://car.wg:8100/api/...
1
vote
1
answer
162
views
Upload a binary file to git LFS through AzureDevOps Services REST API?
I am using the AzureDevOps Services REST API for automation. I am pushing a binary file to my repo with this API add-a-binary-file.
However, these binary files are becoming increasingly large, and I ...
1
vote
0
answers
113
views
How to migrate from Git LFS with missing files replacement?
I have a Git repository with LFS. Initially, I committed up to commit A, then deleted the repo. Later, I downloaded it from GitHub and continued committing up to commit B. Now, I don't have access to ...