macOS
brew install git-lfslocal Homebrew formula metadata
sudo port install git-lfsMacPorts ports tree · devel/git-lfs/Portfile · 来源: api.github.com
安装
brew install git-lfslocal Homebrew formula metadata
sudo port install git-lfsMacPorts ports tree · devel/git-lfs/Portfile · 来源: api.github.com
sudo apk add git-lfsAlpine Linux edge package indexes · git-lfs · 来源: dl-cdn.alpinelinux.org
sudo apt install git-lfsDebian stable package indexes · git-lfs · 来源: deb.debian.org
sudo dnf install git-lfsFedora Rawhide package metadata · git-lfs · 来源: dl.fedoraproject.org
nix profile install nixpkgs#git-lfsnixpkgs package indexes · pkgs/by-name/gi/git-lfs/package.nix · 来源: api.github.com
sudo pacman -S git-lfsArch Linux sync databases · git-lfs · 来源: geo.mirror.pkgbuild.com
sudo zypper install git-lfsopenSUSE Tumbleweed package metadata · git-lfs · 来源: download.opensuse.org
choco install git-lfsChocolatey community package catalog · git-lfs · 来源: community.chocolatey.org
scoop install main/git-lfsScoop official bucket manifest trees · bucket/git-lfs.json · 来源: api.github.com
winget install --id GitHub.GitLFS -eWindows Package Manager source index · GitHub.GitLFS · 来源: cdn.winget.microsoft.com
概览
Git extension for versioning large files
历史
Git LFS is the reference command-line implementation and specification for storing large file contents outside ordinary Git blobs while keeping small pointer files in the repository. It became one of the standard answers for repositories that need to version art assets, datasets, media, archives, and other large binaries without making every clone carry every large object as normal Git history.
The public git-lfs repository was created in 2013, and the changelog records v0.5.0 in April 2015 as the initial public release. The official specification preserves a clue from the pre-release era by documenting legacy pointer files that used a `hawser.github.com` version URL before the `git-lfs.github.com/spec/v1` pointer URL.
Git LFS reached v1.0.0 in October 2015. Before that milestone, v0.6.0 switched the client to the Batch API by default while retaining fallback to the legacy API. The 2.x line later removed old APIs and added features such as `git lfs migrate`, which rewrites history to convert large Git blobs into LFS objects.
Git LFS matters because it is both a Git extension and a protocol/specification surface. The README describes pre-built binaries for macOS, Windows, Linux, and FreeBSD, Homebrew installation, Debian and RPM packages, Chocolatey installation, and inclusion in Git for Windows. That distribution footprint helped make LFS available to designers, game teams, data projects, and software teams using hosted Git services.
The project also has a maintainer model around a core team and alumni, public releases with signed hashes, official command documentation, an FAQ, and implementation notes. Those are signs of infrastructure-level Git tooling rather than a one-off helper script.
Practitioners run `git lfs install` once to configure clean and smudge filters, use `git lfs track` to add patterns to `.gitattributes`, commit that attributes file, and then add and push files as usual. Git LFS writes pointer files into Git and stores object contents under the LFS object store, uploading LFS objects before the Git push completes.
`git lfs migrate` is used when large files already exist in history and need to be moved into LFS, with the usual history-rewrite consequences. Operators also use `git lfs env`, tracing, signed release verification, and the command manpages when debugging installs or server interactions.
Git LFS is package-nerd significant because it is a CLI, a Git filter integration, and a wire-format specification in one package. It shows how a package can become part of the developer-tooling substrate: package managers distribute the binary, Git invokes it through filters and hooks, and hosting platforms implement the matching storage API.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.lfsconfig.gitattributes.git/config~/.gitconfig/etc/gitconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-lfs | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/git-lfs/git-lfs
安装元数据
| 软件包键 | brew:git-lfs |
|---|---|
| 版本 | 3.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/git-lfs |
| 主页 | https://git-lfs.com/ |
| 仓库 | https://github.com/git-lfs/git-lfs |
| 上游文档 | https://git-lfs.com/ |
| 许可证 | MIT |
| 源码归档 | https://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-v3.7.1.tar.gz |
| 构建依赖 | asciidoctor, go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | Update your git config to finish installation: # Update global git config $ git lfs install # Update system git config $ git lfs install --system |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-lfs |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
git-lfs 3.6.1-1+deb13u1
Git Large File Support
sudo apt install git-lfsgolang-github-git-lfs-git-lfs-dev 3.6.1-1+deb13u1
Git Large File Support (library)
sudo apt install golang-github-git-lfs-git-lfs-devgit-lfs
nix profile install nixpkgs#git-lfsgit-lfs 3.4.1-1
Git Large File Support
sudo apt install git-lfsgolang-github-git-lfs-git-lfs-dev 3.4.1-1
Git Large File Support (library)
sudo apt install golang-github-git-lfs-git-lfs-devgit-lfs 3.7.1-r0
Git extension for versioning large files
sudo apk add git-lfsgit-lfs-bash-completion 3.7.1-r0
Bash completions for git-lfs
sudo apk add git-lfs-bash-completiongit-lfs-doc 3.7.1-r0
Git extension for versioning large files (documentation)
sudo apk add git-lfs-docgit-lfs-fish-completion 3.7.1-r0
Fish completions for git-lfs
sudo apk add git-lfs-fish-completiongit-lfs-zsh-completion 3.7.1-r0
Zsh completions for git-lfs
sudo apk add git-lfs-zsh-completiongit-lfs 3.7.1-4.fc44
Git extension for versioning large files
sudo dnf install git-lfsgit-lfs 3.7.1-1
Git extension for versioning large files
sudo pacman -S git-lfsgit-lfs 3.7.1-1.5
Git extension for versioning large files
https://github.com/git-lfs/git-lfs
sudo zypper install git-lfsgit-lfs
sudo port install git-lfsgit-lfs
choco install git-lfsmain/git-lfs
scoop install main/git-lfs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.