macOS
brew install karnlocal Homebrew formula metadata
安装
brew install karnlocal Homebrew formula metadata
概览
Manage multiple Git identities
历史
karn is a small Git identity helper for developers who use different user.name and user.email values across personal, work, and open-source repositories.
The project began as a Go command-line tool in March 2015. Its README describes the core behavior: karn checks a directory tree, compares it with a user configuration, and updates only a repository's local Git identity rather than the global Git configuration.
The release series stayed intentionally narrow. The v0.0.1 release was tagged from the initial implementation, and v0.1.0 in February 2021 added support for GPG signing keys.
karn reached package-manager visibility through Homebrew and the Arch User Repository, which fits its audience: developers who want a shell-friendly way to keep Git identities separated without remembering per-repository commands.
Typical use is to keep identity rules in ~/.karn.yml, then run karn manually or wrap Git commands so karn update runs before Git operations.
karn is a tidy example of a package-manager-sized developer convenience: a tiny binary, a dotfile, and a focused fix for a workflow footgun that Git itself leaves to local config discipline.
安全态势
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.
~/.karn.yml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
karn | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/prydonius/karn
安装元数据
| 软件包键 | brew:karn |
|---|---|
| 版本 | 0.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/karn |
| 主页 | https://github.com/prydonius/karn |
| 仓库 | https://github.com/prydonius/karn |
| 上游文档 | https://github.com/prydonius/karn#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/prydonius/karn/archive/refs/tags/v0.1.0.tar.gz |
| 最后更新 | 2026-06-18T09:25:52+09:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | karn |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.