# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper, scoop, winget 安装 git-cola

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

## 安装

```sh
sudo av install brew:git-cola
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-cola
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-cola
```

  证据: MacPorts ports tree: devel/git-cola/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add git-cola
```

  证据: Alpine Linux edge package indexes: git-cola from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install git-cola
```

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

- dnf (92%):

```sh
sudo dnf install git-cola
```

  证据: Fedora Rawhide package metadata: git-cola from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#git-cola
```

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

- zypper (92%):

```sh
sudo zypper install git-cola
```

  证据: openSUSE Tumbleweed package metadata: git-cola from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/git-cola
```

  证据: Scoop official bucket manifest trees: bucket/git-cola.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id git-cola.git-cola -e
```

  证据: Windows Package Manager source index: git-cola.git-cola from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:git-cola
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-cola>
- **版本:** 4.19.0
- **来源摘要:** Highly caffeinated git GUI
- **主页:** <https://git-cola.github.io/>
- **仓库:** <https://github.com/git-cola/git-cola>
- **上游文档:** <https://git-cola.github.io/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/98/79/6be8026bdc9340a278f0a7631c732f7bae1884e53f5dfaeb2798362d190b/git_cola-4.19.0.tar.gz>
- **最后更新:** 2026-07-13T09:39:07Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cola (cli)
- git-cola (cli)
- git-cola-sequence-editor (cli)
- git-dag (cli)
- cola (别名)
- git-cola (别名)
- git-cola-sequence-editor (别名)
- git-dag (别名)

## 依赖

- git-gui
- pyqt
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.19.0
- 管理器更新时间: 2026-07-13
- 本地数据: OK
- 上游仓库: https://git-cola.github.io/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

git-cola is a Python and Qt graphical interface for Git, with command-line entry points such as git cola and git dag. It represents the desktop-Git side of the Git tooling ecosystem: visual staging, commit preparation, history browsing, and common repository actions without leaving local Git.

### 项目历史

The project is distributed by the git-cola organization and describes itself as a powerful Git GUI with a slick interface. Its release notes preserve a long 1.x to 4.x line; early notes in the 1.3 series already mention Debian packaging, Windows and Mac OS X packaging work, saved layouts, branch review mode, and Git difftool integration.

### 采用历史

git-cola's adoption has been strongest through operating-system package channels. The official README says Linux distributions had already packaged it and documents installation through Debian, Ubuntu, Fedora, Gentoo, openSUSE, Slackware, FreeBSD, Homebrew, PyPI virtual environments, Windows installers, and source-tree execution.

### 使用方式

Practitioners use git-cola as a local Git GUI for staging and unstaging changes, editing commit messages, browsing history with git dag, diffing revisions, fetching, pulling, pushing, rebasing, stashing, tagging, and launching focused subcommands from the command line.

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

For package catalogs, git-cola is notable because it bridges desktop application packaging and Git subcommand culture. It can run from a source tree, from Python packaging, from OS packages, or as a Git-style command, making it a useful test case for GUI dependencies in command-line package managers.

### 时间线

- 1.3.x: Release notes documented Debian packaging fixes, Mac OS X bundles, Windows installer work, and Git difftool integration.
- 4.x: Release notes documented continued UI, Git DAG, packaging, and desktop integration work.

### Related projects

- git-cola relates to Git itself, Git DAG, Git difftool, QtPy, PyQt, and PySide through its GUI and packaging model.

### 来源

- <https://formulae.brew.sh/formula/git-cola>
- <https://git-cola.readthedocs.io/>
- <https://github.com/git-cola/git-cola>
- <https://raw.githubusercontent.com/git-cola/git-cola/main/CHANGES.rst>
- <https://raw.githubusercontent.com/git-cola/git-cola/main/README.md>
- <https://raw.githubusercontent.com/git-cola/git-cola/main/docs/git-cola.rst>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.gitconfig, .git/config, ~/.config/git-cola, ~/.config/git-cola/layouts, ~/.config/git-cola/language, ~/.config/git-cola/git-bindir
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-cola
- **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:** head, stable

## 其他软件包管理器记录

- Debian apt - git-cola - 4.12.0-1: normalized package name match | Debian stable package indexes: git-cola from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | highly caffeinated git GUI | https://git-cola.github.io/
- Nix - git-cola: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-cola/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - git-cola - 4.6.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: git-cola from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | highly caffeinated git GUI | https://git-cola.github.io/
- apk - git-cola - 4.19.0-r0: normalized package name match | Alpine Linux edge package indexes: git-cola from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GUI application for git built on Python & Qt | https://git-cola.github.io
- apk - git-cola-doc - 4.19.0-r0: normalized package name match | Alpine Linux edge package indexes: git-cola-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GUI application for git built on Python & Qt (documentation) | https://git-cola.github.io
- apk - git-cola-pyc - 4.19.0-r0: normalized package name match | Alpine Linux edge package indexes: git-cola-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for git-cola | https://git-cola.github.io
- dnf - git-cola - 4.19.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: git-cola from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A sleek and powerful git GUI | https://git-cola.github.io
- zypper - git-cola - 4.17.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: git-cola from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A GUI for Git | https://git-cola.github.io/
- MacPorts - git-cola: normalized package name match | MacPorts ports tree: devel/git-cola/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/git-cola: normalized package name match | Scoop official bucket manifest trees: bucket/git-cola.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - git-cola.git-cola: normalized package name match | Windows Package Manager source index: git-cola.git-cola from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [git-gui](https://pkg.so/zh-hans/brew/git-gui/) - Runtime dependency declared by Homebrew.
- [pyqt](https://pkg.so/zh-hans/brew/pyqt/) - Runtime dependency declared by Homebrew.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [git-lfs](https://pkg.so/zh-hans/brew/git-lfs/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://pkg.so/zh-hans/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [tig](https://pkg.so/zh-hans/brew/tig/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [hub](https://pkg.so/zh-hans/brew/hub/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [repo](https://pkg.so/zh-hans/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [git-svn](https://pkg.so/zh-hans/brew/git-svn/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [git-branchless](https://pkg.so/zh-hans/brew/git-branchless/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-cinnabar](https://pkg.so/zh-hans/brew/git-cinnabar/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
