macOS
brew install git-when-mergedlocal Homebrew formula metadata
sudo port install git-when-mergedMacPorts ports tree · devel/git-when-merged/Portfile · 来源: api.github.com
安装
brew install git-when-mergedlocal Homebrew formula metadata
sudo port install git-when-mergedMacPorts ports tree · devel/git-when-merged/Portfile · 来源: api.github.com
nix profile install nixpkgs#git-when-mergednixpkgs package indexes · pkgs/by-name/gi/git-when-merged/package.nix · 来源: api.github.com
概览
Find where a commit was merged in git
历史
git-when-merged is a Python Git extension that finds the merge commit that first brought a given commit into a branch.
Michael Haggerty created the repository in February 2013. The README says the command was originally based on a Stack Overflow suggestion for finding the merge commit that included a specific commit.
The project grew around Git-history forensics. The 2016 releases added recursive merge tracing, log output, commit-only output, branch display, and describe-based options. A 2022 release added the packaging work needed for PyPI distribution.
The README documents several installation paths: pipx from PyPI, a local virtual environment, cloning the repository onto PATH, and Homebrew for macOS users. Package-manager metadata also lists distribution through Homebrew, MacPorts, and Nix.
Practitioners use git when-merged during code archaeology, release maintenance, and regression tracking. It walks first-parent history to answer when and why a commit entered a branch, with options to show logs, diffs, merge ranges, patterns, and configured reference groups.
The tool is a package-nerd favorite because it wraps a subtle Git graph question in a memorable subcommand, making first-parent merge analysis scriptable and repeatable.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-when-merged | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:git-when-merged |
|---|---|
| 版本 | 1.2.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/mhagger/git-when-merged |
| 仓库 | https://github.com/mhagger/git-when-merged |
| 最后更新 | 2026-06-18T09:25:51+09:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
git-when-merged
nix profile install nixpkgs#git-when-mergedgit-when-merged
sudo port install git-when-merged来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.