Automic VaultAutomic Vault

brew

使用 Homebrew 安装 forgit

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install forgit

local Homebrew formula metadata

概览

软件包摘要

Interactive git commands in the terminal

命令和别名

  • git-forgit

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-forgitcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-24
管理器版本26.07.0
管理器更新时间2026-07-01
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/wfxr/forgit

安装元数据

软件包元数据

软件包键brew:forgit
版本26.07.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/forgit
主页https://github.com/wfxr/forgit
仓库https://github.com/wfxr/forgit
上游文档https://github.com/wfxr/forgit#readme
许可证MIT
源码归档https://github.com/wfxr/forgit/releases/download/26.07.0/forgit-26.07.0.tar.gz
最后更新2026-07-01T03:15:16Z
Pulseupdated
依赖fzf
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明
注意事项A shell plugin has been installed to: $HOMEBREW_PREFIX/opt/forgit/share/forgit/forgit.plugin.zsh $HOMEBREW_PREFIX/opt/forgit/share/forgit/forgit.plugin.sh $HOMEBREW_PREFIX/opt/forgit/share/forgit/forgit.plugin.fish

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameforgit
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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