# 使用 Homebrew 安装 git-number

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-number
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:git-number
- **软件包管理器:** Homebrew
- **版本:** 1.0.1
- **来源摘要:** Use numbers for dealing with files in git
- **主页:** <https://github.com/holygeek/git-number>
- **仓库:** <https://github.com/holygeek/git-number>
- **最后更新:** 2026-08-02T20:52:06+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-id (别名)
- git-number (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.1
## 项目历史与用法

git-number is a Git command-line helper that assigns numeric IDs to files shown by git status, then lets the user pass those numbers back into Git commands. Its README describes the tool as a productivity aid for repetitive staging, diffing, editing, and file-selection tasks.

### 项目历史

The GitHub repository was created on 2011-03-24. The README records an implementation transition: an original Perl version was preserved on a separate branch, while the maintained implementation was rewritten in Go.

### 采用历史

git-number became a recognizable niche utility in the Git-extension ecosystem, with GitHub metadata showing a few hundred public stars and Homebrew packaging making it available to users who prefer package-manager installs. Its README also points to scm_breeze as a related, broader shell workflow project.

### 使用方式

Users run git number to print git status with numbered file entries, then run commands such as git number add, git number diff, or git number -c rm with individual IDs or ranges. The tool stores its number-to-file mapping under .git/gitids.go.txt, which keeps the mapping local to the repository.

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

The package is a compact example of a Git porcelain wrapper that trades strict parser guarantees for terminal speed. Its README is unusually explicit about edge cases, including rename handling and columnar untracked-file output, making it useful to people who care about how CLI wrappers survive changes in Git output.

### 时间线

- 2011: Repository was created on GitHub.
- 2014: 1.0.0a tag marked the Go-era package line.
- 2017: 1.0.1 tag followed with later maintenance.

### Related projects

- scm_breeze
- git status
- Git aliases

### 来源

- <https://formulae.brew.sh/formula/git-number>
- <https://github.com/holygeek/git-number>
- <https://raw.githubusercontent.com/holygeek/git-number/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

View the package source record on GitHub. [combined/git-number.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-number.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
