# 使用 Homebrew, apt, Nix 安装 gita

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

## 安装

```sh
sudo av install brew:gita
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gita
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gita
```

  证据: Debian stable package indexes: gita from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#gita
```

  证据: nixpkgs package indexes: pkgs/by-name/gi/gita/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:gita
- **软件包管理器:** Homebrew
- **版本:** 0.16.8.2
- **来源摘要:** Manage multiple git repos with sanity
- **主页:** <https://github.com/nosarthur/gita>
- **最后更新:** 2026-07-25T03:27:19Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gita (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Gita is a Python command-line tool for viewing and operating many Git repositories from one place. It keeps a registry of repository paths, displays branch and working-tree status side by side, and delegates Git or shell commands across selected repositories or groups.

### 项目历史

The public Gita repository was created in January 2018. The project grew around two core features that remain central in the official README: summarizing the status of many repositories and delegating commands to them without requiring the user to enter each working directory.

Later functionality added repository groups, contexts, recursive discovery, custom command definitions, status colors and symbols, shell-command delegation, and freeze-and-clone workflows. These features kept the package focused on coordinating ordinary Git repositories rather than introducing a new repository format.

### 采用历史

Upstream distributes Gita through PyPI and documents installation with pip, uv, and pipx. The supplied package facts also show packages in Homebrew, Debian, Ubuntu, and Nix, giving the Python CLI several workstation-oriented installation paths.

The official GitHub repository has accumulated a long-running release series and a substantial user following for a focused multi-repository utility. Its adoption is especially natural among developers who keep many unrelated clones and want a dashboard and batch-command layer without converting them into a monorepo.

### 使用方式

A typical workflow begins with gita add, then uses gita ll to inspect branch and modification state across repositories. Built-in delegated commands can fetch or pull across all or selected repositories, while superman mode forwards arbitrary Git commands and shell mode runs arbitrary shell commands.

Configuration follows the XDG base-directory convention. The repository registry and optional command, color, information, and symbol customizations live under $XDG_CONFIG_HOME/gita, usually ~/.config/gita.

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

Gita is interesting to package users because it applies a package-manager-like control plane to source checkouts while leaving Git itself untouched. It is a lightweight alternative to bespoke shell loops and sits between individual clones and heavier manifest-driven multi-repository systems.

### 时间线

- 2018: The nosarthur/gita GitHub repository was created.
- 2023: The official release feed published the v0.16.6 series.
- 2025: The official release feed published the v0.16.8 series.

### Related projects

- Git is the underlying version-control system whose commands Gita delegates.
- The official README identifies myrepos, Android's repo tool, and mu-repo as other multi-repository tools.

### 来源

- <https://github.com/nosarthur/gita>
- <https://github.com/nosarthur/gita/releases>
- source_facts.package-manager


## 安全说明

没有找到 gita 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

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.


## Configuration files

- Unix: $XDG_CONFIG_HOME/gita/repos.csv, $XDG_CONFIG_HOME/gita/cmds.json, $XDG_CONFIG_HOME/gita/color.csv, $XDG_CONFIG_HOME/gita/info.csv, $XDG_CONFIG_HOME/gita/symbols.csv
## 其他软件包管理器记录

- Debian apt - gita - 0.16.7.2-4: normalized package name match | Debian stable package indexes: gita from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Manage many git repos | https://github.com/nosarthur/gita
- Nix - gita: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gita/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gita - 0.16.6.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: gita from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Manage many git repos | https://github.com/nosarthur/gita


## Combined YAML source

View the package source record on GitHub. [combined/gita.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gita.yml)


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- external package-manager database matches
- cross-ecosystem install command graph
