macOS
brew install git-moblocal Homebrew formula metadata
安装
brew install git-moblocal Homebrew formula metadata
概览
CLI tool for including co-authors in commits
历史
Git Mob is a command-line tool for adding co-author trailers to Git commits during pair programming and mob programming. It keeps a local list of co-authors and updates commit-message templates or hook-based flows so commits include the people working together.
Richard Kotze published the Git Mob repository in February 2018. The repository is organized as a workspace, with the Git Mob CLI package and a shared git-mob-core package for reusable co-author logic.
The changelog shows the CLI growing from a simple co-author helper into a TypeScript and Node-based toolchain. The 2.x line integrated git-mob-core for core features; 3.0.0 moved to ESM and Node 16; 4.0.0 completed a TypeScript migration for main files and removed lower-value edit/delete commands.
Git Mob follows the adoption of GitHub's `Co-authored-by` commit trailers, which make commits visible as co-authored on GitHub. The tool packages that convention for teams that pair or mob frequently, reducing the friction of remembering names, emails, and trailer formatting.
Its distribution is centered on npm and Homebrew, with a related Visual Studio Code extension and a reusable core package. That makes it especially relevant to JavaScript-heavy teams and collaborative coding shops that switch between terminal and editor workflows.
Users configure their primary Git author normally, store teammates in `.git-coauthors`, then run commands such as `git mob ad bd` to select co-authors by initials. Subsequent commits include `Co-authored-by` trailers; `git solo` returns to a solo author flow.
The CLI can add co-authors, suggest co-authors from repository history, print the active mob, fetch GitHub no-reply author details when enabled, and support commit-message hooks for users who commit with `git commit -m`.
Git Mob is package-nerd interesting because it turns a social collaboration convention into a Git subcommand and a tiny local data file. It also shows how a CLI can bridge Git config, commit templates, npm packaging, Homebrew packaging, and editor extensions without needing a server.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$GITMOB_COAUTHORS_PATH.git-coauthors~/.git-coauthors可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-add-coauthor | cli | 全局可执行文件 | |
git-mob | cli | 全局可执行文件 | |
git-mob-print | cli | 全局可执行文件 | |
git-solo | cli | 全局可执行文件 | |
git-suggest-coauthors | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rkotze/git-mob
安装元数据
| 软件包键 | brew:git-mob |
|---|---|
| 版本 | 4.0.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/git-mob |
| 主页 | https://github.com/rkotze/git-mob/blob/master/packages/git-mob |
| 仓库 | https://github.com/rkotze/git-mob |
| 上游文档 | https://github.com/rkotze/git-mob#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/git-mob/-/git-mob-4.0.1.tgz |
| 最后更新 | 2026-06-18T09:25:51+09:00 |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-mob |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.