# Install git-number with Homebrew

Use numbers for dealing with files in git. Version 1.0.1 via Homebrew; verified 2026-08-02.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:git-number
- **Package manager:** Homebrew
- **Version:** 1.0.1
- **Source summary:** Use numbers for dealing with files in git
- **Homepage:** <https://github.com/holygeek/git-number>
- **Repository:** <https://github.com/holygeek/git-number>
- **Last updated:** 2026-08-02T20:52:06+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- git-id (alias)
- git-number (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.1
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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)


## Sources

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