# 使用 Homebrew 安装 git-tracker

查看 git-tracker 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:git-tracker
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-tracker
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:git-tracker
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-tracker>
- **版本:** 2.0.0
- **来源摘要:** Integrate Pivotal Tracker into your Git workflow
- **主页:** <https://github.com/stevenharman/git_tracker>
- **仓库:** <https://github.com/stevenharman/git_tracker>
- **上游文档:** <https://github.com/stevenharman/git-tracker#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/stevenharman/git_tracker/archive/refs/tags/v2.0.0.tar.gz>
- **最后更新:** 2026-06-22T14:03:32-07:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- git-tracker (cli)
- git-tracker (别名)

## macOS 提供的库

- ruby

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 2.0.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/stevenharman/git_tracker
- 检测到的最新版本: v2.0.0 (当前)
## 项目历史与用法

git-tracker is a Git hook helper for teams that name branches with Pivotal Tracker story numbers. It installs a prepare-commit-msg hook that detects a story ID in the branch name and adds the corresponding Tracker syntax to commit messages.

### 项目历史

The upstream git_tracker repository was created in 2012 by Steven Harman. Its README presents the tool as GitTracker or git-tracker, a small workflow bridge between local Git branches and Pivotal Tracker's commit-message conventions.

### 采用历史

Adoption appears concentrated around Ruby and macOS/Homebrew users rather than a broad Git ecosystem. The project is published as the git_tracker RubyGem and as the git-tracker Homebrew formula, both pointing back to the same GitHub source repository.

### 使用方式

Practitioners install the binary, run `git tracker init` inside each repository where the hook should be active, and include a Pivotal Tracker story number in branch names. On commit, the hook adds a Tracker-formatted story marker, or a keyword such as Fixes with the story number, unless the message already contains the marker.

### 为什么软件包爱好者会关心

The package is a compact example of Git's extension culture: a Ruby-distributed tool exposed as a `git tracker` subcommand, with most behavior implemented by installing a standard Git hook into each repository.

### 时间线

- 2012: git_tracker repository created.
- 2.0.0: RubyGems and Homebrew package the tool under git_tracker and git-tracker names.

### Related projects

- git-tracker is tied to Git hooks, Pivotal Tracker's source-control message syntax, RubyGems packaging, and Homebrew distribution.

### 来源

- <https://api.github.com/repos/stevenharman/git_tracker>
- <https://formulae.brew.sh/formula/git-tracker>
- <https://github.com/stevenharman/git_tracker>
- <https://raw.githubusercontent.com/stevenharman/git_tracker/master/README.md>
- <https://rubygems.org/gems/git_tracker>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-tracker
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [git-now](https://www.automicvault.com/zh-hans/pkg/brew/git-now/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, workflow.
- [ecflow-ui](https://www.automicvault.com/zh-hans/pkg/brew/ecflow-ui/) - Shares av.db curated category or tags: cli, developer-tools, workflow.
- [gerrit-tools](https://www.automicvault.com/zh-hans/pkg/brew/gerrit-tools/) - Shares av.db curated category or tags: cli, developer-tools, workflow.
- [git-branchless](https://www.automicvault.com/zh-hans/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, workflow.
- [git-extras](https://www.automicvault.com/zh-hans/pkg/brew/git-extras/) - Shares av.db curated category or tags: cli, developer-tools, workflow.
- [git-flow](https://www.automicvault.com/zh-hans/pkg/brew/git-flow/) - Shares av.db curated category or tags: cli, developer-tools, workflow.
- [git-fresh](https://www.automicvault.com/zh-hans/pkg/brew/git-fresh/) - Shares av.db curated category or tags: cli, developer-tools, workflow.
- [git-lfs](https://www.automicvault.com/zh-hans/pkg/brew/git-lfs/) - Shares av.db curated category or tags: cli, developer-tools, git-extension.
- [git-machete](https://www.automicvault.com/zh-hans/pkg/brew/git-machete/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, extension, git.
- [git-octopus](https://www.automicvault.com/zh-hans/pkg/brew/git-octopus/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, extension, git.

## Combined YAML source

View the package source record on GitHub. [combined/git-tracker.yml](https://github.com/automic-vault/db/blob/main/combined/git-tracker.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
