macOS
brew install gitulocal Homebrew formula metadata
sudo port install gituMacPorts ports tree · devel/gitu/Portfile · 来源: api.github.com
安装
brew install gitulocal Homebrew formula metadata
sudo port install gituMacPorts ports tree · devel/gitu/Portfile · 来源: api.github.com
sudo apk add gituAlpine Linux edge package indexes · gitu · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#gitunixpkgs package indexes · pkgs/by-name/gi/gitu/package.nix · 来源: api.github.com
sudo pacman -S gituArch Linux sync databases · gitu · 来源: geo.mirror.pkgbuild.com
scoop install extras/gituScoop official bucket manifest trees · bucket/gitu.json · 来源: api.github.com
概览
TUI Git client inspired by Magit
历史
Gitu is a terminal Git client inspired by Magit, the influential Emacs Git porcelain. It aims to bring Magit's keyboard-driven staging, history, commit, branch, stash, and rebase workflows to users outside Emacs.
The repository was opened in December 2023. Its README describes the project as a Git porcelain outside Emacs and states that Gitu aims to implement many core Magit features over time while staying familiar to previous Magit users.
Early releases moved quickly through the 0.x line in 2024. The README lists support for staging and unstaging files, hunks, and lines; showing commits and opening an editor at a line; branch operations; commit, amend, and fixup flows; fetching, pulling, pushing, rebasing, resetting, reverting, and stashing.
The project also codified terminal configuration early: editor selection follows `VISUAL`, `EDITOR`, and `GIT_EDITOR`, and the documented config file path is `~/.config/gitu/config.toml` on Linux and macOS, with an AppData path on Windows.
Gitu's packaging spread shows interest beyond its source repository. The input package metadata and install docs cover Cargo, GitHub release binaries, Arch Linux, Nix flakes, mise, Homebrew, MacPorts, pacman, APK, and Scoop. That matters because Git TUIs are often installed as everyday shell tools rather than project-local dependencies.
Practitioners use Gitu inside Git repositories as a keyboard-first control surface for reviewing changes, staging precise hunks or lines, inspecting logs, committing, switching branches, rebasing, and managing stashes. The help menu and Magit-like key choices reduce the need to remember a long set of standalone Git commands.
The tool sits between raw Git and full graphical clients: it keeps work in a terminal, opens a configured editor when needed, and gives Magit-style workflows to developers who do not live inside Emacs.
Gitu is significant as part of the Rust-era Git TUI wave. It competes for the same install slot as tools like gitui and lazygit, but its package identity is sharper: Magit-inspired Git porcelain for terminal users outside Emacs.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.config/gitu/config.toml%USERPROFILE%\AppData\Roaming\gitu\config.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gitu | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/altsem/gitu
安装元数据
| 软件包键 | brew:gitu |
|---|---|
| 版本 | 0.43.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gitu |
| 主页 | https://github.com/altsem/gitu |
| 仓库 | https://github.com/altsem/gitu |
| 上游文档 | https://github.com/altsem/gitu#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/altsem/gitu/archive/refs/tags/v0.43.0.tar.gz |
| 最后更新 | 2026-07-11T23:35:09Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gitu |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gitu
nix profile install nixpkgs#gitugitu 0.42.0-r0
TUI Git client inspired by Magit
https://github.com/altsem/gitu
sudo apk add gitugitu-doc 0.42.0-r0
TUI Git client inspired by Magit (documentation)
https://github.com/altsem/gitu
sudo apk add gitu-docgitu 0.42.0-1
A TUI Git client inspired by Magit
https://github.com/altsem/gitu
sudo pacman -S gitugitu
sudo port install gituextras/gitu
scoop install extras/gitu来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.