Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman, zypper, scoop 安装 git-town

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install git-town

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install git-town

MacPorts ports tree · devel/git-town/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#git-town

nixpkgs package indexes · pkgs/by-name/gi/git-town/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S git-town

Arch Linux sync databases · git-town · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install git-town

openSUSE Tumbleweed package metadata · git-town · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/git-town

Scoop official bucket manifest trees · bucket/git-town.json · 来源: api.github.com

概览

软件包摘要

High-level command-line interface for Git

命令和别名

  • git-town

历史

项目历史与用法

Git Town is a high-level Git command-line interface for managing feature branches, stacked changes, pull requests, and branch cleanup. It wraps common multi-branch workflows in memorable commands such as hack, sync, propose, ship, append, prepend, and swap.

项目历史

The GitHub repository was created in 2014. The project grew from branch workflow automation into a broader Git productivity layer that supports Git Flow, GitHub Flow, GitLab Flow, trunk-based development, monorepos, and stacked changes.

The command set and configuration model continued to evolve through the 2020s. The documentation describes configuration files named git-town.toml, .git-town.toml, and .git-branches.toml, while the changelog records work on stacked proposal breadcrumbs, direct commits into ancestor branches, forge connectors, CI/headless behavior, and configuration precedence.

采用历史

Git Town's adoption is tied to teams that want a consistent branch lifecycle without replacing Git hosting. Package availability through Homebrew, MacPorts, Nix, pacman, Scoop, and zypper makes the same workflow commands installable across developer workstations.

使用方式

Practitioners use Git Town to create up-to-date feature branches, synchronize branch stacks, create pull or merge requests, navigate branch hierarchies, ship completed work, and clean up local and remote branches. In stacked-change workflows, commands such as append, prepend, set-parent, diff-parent, and swap encode parent-child branch relationships that plain Git does not model directly.

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

The package is significant because it shows how much workflow policy can live in a Git extension without requiring a hosted service. It is a single CLI that packages branch naming, stack metadata, forge integration, and cleanup behavior into reproducible local commands.

时间线

  • 2014: Git Town repository created.
  • 2025: Git Town 22.5.0 added proposal breadcrumbs for stacked branches and a commit command for committing into ancestor branches.
  • 2026: Git Town 23.0.0 changed up/down navigation semantics and documented non-interactive behavior for headless environments.

Related projects

  • Git Town sits beside Git itself, GitHub and GitLab forge CLIs, stacked-change tools, and branch-management workflows such as Git Flow and trunk-based development.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
git-town.toml.git-town.toml.git-branches.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-towncli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本24.0.0
管理器更新时间2026-07-23
本地数据OK
上游当前
检测到的最新版本v24.0.0

https://github.com/git-town/git-town

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:git-town
版本24.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/git-town
主页https://www.git-town.com/
仓库https://github.com/git-town/git-town
上游文档https://www.git-town.com/
许可证MIT
源码归档https://github.com/git-town/git-town/archive/refs/tags/v24.0.0.tar.gz
最后更新2026-07-23T16:32:45Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-town
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

git-town

nix profile install nixpkgs#git-town
  • normalized package name match
  • 匹配方式:Git Town
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-town/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

git-town 23.0.2-1

Generic, high-level Git workflow support

https://github.com/git-town/git-town

sudo pacman -S git-town
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Git Town
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-town from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

git-town 23.0.2-1.1

Git branches made easy

https://github.com/git-town/git-town

sudo zypper install git-town
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: git-town
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Town
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-town from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

git-town-bash-completion 23.0.2-1.1

Bash Completion for git-town

https://github.com/git-town/git-town

sudo zypper install git-town-bash-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: git-town
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Town
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-town-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

git-town-fish-completion 23.0.2-1.1

Fish Completion for git-town

https://github.com/git-town/git-town

sudo zypper install git-town-fish-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: git-town
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Town
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-town-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

git-town-zsh-completion 23.0.2-1.1

Zsh Completion for git-town

https://github.com/git-town/git-town

sudo zypper install git-town-zsh-completion
  • License: MIT
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: git-town
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Town
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-town-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

git-town

sudo port install git-town
  • normalized package name match
  • 匹配方式:Git Town
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/git-town/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/git-town

scoop install main/git-town
  • normalized package name match
  • 匹配方式:Git Town
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-town.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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