macOS
brew install git
local Homebrew formula metadata
sudo port install git
MacPorts ports tree · devel/git/Portfile · 来源: api.github.com
安装
sudo av install brew:git
brew install git
local Homebrew formula metadata
sudo port install git
MacPorts ports tree · devel/git/Portfile · 来源: api.github.com
sudo apk add git
Alpine Linux edge package indexes · git · 来源: dl-cdn.alpinelinux.org
sudo dnf install git
Fedora Rawhide package metadata · git · 来源: dl.fedoraproject.org
nix profile install nixpkgs#git
nixpkgs package indexes · pkgs/by-name/gi/git/package.nix · 来源: api.github.com
sudo pacman -S git
Arch Linux sync databases · git · 来源: geo.mirror.pkgbuild.com
sudo zypper install git
openSUSE Tumbleweed package metadata · git · 来源: download.opensuse.org
choco install git
Chocolatey community package catalog · git · 来源: community.chocolatey.org
scoop install main/git
Scoop official bucket manifest trees · bucket/git.json · 来源: api.github.com
winget install --id DuckStudio.ChineseGit -e
Windows Package Manager source index · DuckStudio.ChineseGit · 来源: cdn.winget.microsoft.com
概览
Automic Vault 根据本地软件包数据发布 git 的安装路径、可执行文件事实和安全元数据。
Distributed revision control system
radioisotope
`git` can store HTTPS credentials in plaintext credential-store files such as ~/.git-credentials. Automic Vault currently detects this exposure but does not yet provide a migration or package modification for Git credential stores.
blue 风险 · high 置信度 · tool
本地 README 摘录
This detector reports plaintext Git credential-store files. It does not currently migrate credentials or modify Git.
Detected hazards:
~/.git-credentialscredential.helper = store --file ... pathsGit helpers backed by Keychain or other secret stores are not reported.
来源: data/radioisotopes/git/README.md
审批门
The local approval-gate seed includes 6 rules for git. Covered entrypoints: git. Severity labels: critical, high, medium. Coverage: partial, 已审查 2026-05-21.
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git | cli | global executable | |
git-cvsserver | cli | global executable | |
git-receive-pack | cli | global executable | |
git-shell | cli | global executable | |
git-upload-archive | cli | global executable | |
git-upload-pack | cli | global executable | |
scalar | cli | global executable |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:git |
|---|---|
| 版本 | 2.54.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/git |
| 主页 | https://git-scm.com |
| 上游文档 | https://git-scm.com |
| 许可证 | GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause AND MIT |
| 源码归档 | https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.54.0.tar.xz |
| 更新 | 2026-04-21T02:44:54Z |
| Pulse | updated |
| 依赖 | gettext, pcre2 |
| 构建依赖 | gettext, pkgconf |
| macOS 提供的库 | curl, expat |
| Bottle | 可用 (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| Caveats | The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. |
来源线索
此页面由 scripts/generate-pkg-pages.py 写入。如果 www/pkg/ 相对于本地软件包数据已过期,部署会拒绝发布。