How-To use Git LFS on Fedora Silverblue in default Terminal? There seems no package available :(

Hi

How-To use Git LFS on Fedora Silverblue in default Terminal? I installed the Flatpak named com.visualstudio.code.tool.git-lfs.

How-To use it in Terminal?

Name                Description                                                      Application ID                                      Version       Branch       Remotes
git-lfs             Git extension for versioning large files                         com.visualstudio.code.tool.git-lfs                  3.5.1         23.08        flathub
git-lfs             Git extension for versioning large files                         com.visualstudio.code.tool.git-lfs                  3.4.1         22.08        flathub

I can’t pull Git Repos with LFS files in it. There is an error

error: non-monotonic index .git/objects/pack/._pack-95c6bff247dec2fe9cd0a686195ef8b0e8fb2a76.idx


$ git pull
error: non-monotonic index .git/objects/pack/._pack-95c6bff247dec2fe9cd0a686195ef8b0e8fb2a76.idx
error: non-monotonic index .git/objects/pack/._pack-95c6bff247dec2fe9cd0a686195ef8b0e8fb2a76.idx

I did some more investigations and there seems no installable git-lfs package in Fedora repos. There is something named similar, but it is not Git LFS. I have no idea what this software was.

upstream project site: https://git-lfs.com/

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.

I am urgently dependent on git lfs, I use it intensively on macOS and would like to migrate these repos including the data to Fedora Atomic. I’m grateful for any suggestions, under macOS the setup was done in 3 minutes with brew.

Thank you

You should install it in a toolbox and use it from there.

If you want to use the Flatpak then you should be able to call it using flatpak run com.visualstudio.code.tool.git-lfs and make an alias for it. In general, Flatpaks are not a good fit for command line applications.