# 使用 Homebrew 安装 forgit

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

## 安装

```sh
sudo av install brew:forgit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install forgit
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:forgit
- **软件包管理器:** Homebrew
- **版本:** 26.08.0
- **来源摘要:** Interactive git commands in the terminal
- **主页:** <https://github.com/wfxr/forgit>
- **仓库:** <https://github.com/wfxr/forgit>
- **最后更新:** 2026-08-01T03:36:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-forgit (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

forgit is a shell-oriented Git helper that wraps common Git workflows in interactive fzf pickers. It provides aliases and a git-forgit executable for staging, logs, diffs, branches, stashes, blame, worktrees, and related operations.

### 项目历史

The upstream README describes forgit as a lightweight utility for using git more efficiently, powered by fzf, and supports Bash, Zsh, and Fish.

The license file records Wenxuan Zhang's copyright beginning in 2017, and the project has continued into date-based monthly-style releases such as 26.05.0.

### 采用历史

forgit's adoption follows the shell-plugin route: zplug, zgen, antigen, fisher, omf, zinit, oh-my-zsh, sheldon, Homebrew, AUR, and manual sourcing are all documented upstream.

The GitHub releases page shows a regular date-based release stream in the 2020s, while the README advertises Homebrew installation and AUR packages maintained by the project's developers.

### 使用方式

Users source a shell plugin or put bin/git-forgit on PATH, then invoke aliases such as ga for interactive git add, glo for git log, gd for git diff, gss for stashes, and gwt for worktrees.

forgit depends on fzf 0.60.0 or newer and can also be used as git forgit subcommands when git-forgit is available on PATH.

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

forgit is a compact example of how fzf turned Git porcelain into interactive terminal workflows without replacing Git itself.

It is package-manager interesting because installation is mostly about shell integration paths, completions, aliases, and dependency versioning rather than a daemon or library ABI.

### 时间线

- 2017: The license file records the start of the forgit copyright range.
- 2022: The tag list includes 22.11.0, showing the project on date-based releases by late 2022.
- 2025: The release stream includes monthly 25.x releases.
- 2026: The GitHub releases page lists 26.05.0, published on May 1, 2026.

### Related projects

- forgit is built around Git and fzf, and its README links fzf as the required interactive selector.
- It is adjacent to shell plugin managers such as zplug, zgen, antigen, fisher, omf, zinit, oh-my-zsh, and sheldon because those are first-class installation paths.

### 来源

- <https://github.com/wfxr/forgit>
- <https://github.com/wfxr/forgit/releases>
- <https://raw.githubusercontent.com/wfxr/forgit/master/LICENSE>
- <https://raw.githubusercontent.com/wfxr/forgit/master/README.md>
- <https://raw.githubusercontent.com/wfxr/forgit/master/bin/git-forgit>


## 安全说明

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/forgit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/forgit.yml)


## 来源

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