# git-town を Homebrew, MacPorts, Nix, pacman, zypper, scoop でインストール

git-town のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install git-town
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-town
```

  証拠: MacPorts ports tree: devel/git-town/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

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

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

- pacman (92%):

```sh
sudo pacman -S git-town
```

  証拠: Arch Linux sync databases: git-town from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install git-town
```

  証拠: openSUSE Tumbleweed package metadata: git-town from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/git-town
```

  証拠: Scoop official bucket manifest trees: bucket/git-town.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:git-town
- **パッケージマネージャ:** Homebrew
- **バージョン:** 24.0.0
- **ソース概要:** High-level command-line interface for Git
- **ホームページ:** <https://www.git-town.com/>
- **リポジトリ:** <https://github.com/git-town/git-town>
- **最終更新:** 2026-07-29T16:05:01+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-town (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 24.0.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/git-town/git-town>
- <https://formulae.brew.sh/formula/git-town>
- <https://github.com/git-town/git-town>
- <https://raw.githubusercontent.com/git-town/git-town/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/git-town/git-town/main/README.md>
- <https://www.git-town.com/>
- <https://www.git-town.com/all-commands>
- <https://www.git-town.com/configuration-file.html>


## セキュリティノート

git-town に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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: git-town.toml, .git-town.toml, .git-branches.toml
## 他のパッケージマネージャ記録

- Nix - git-town: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-town/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - git-town - 24.0.0-1: normalized package name match | Arch Linux sync databases: git-town from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Generic, high-level Git workflow support | https://github.com/git-town/git-town
- zypper - git-town - 24.0.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: git-town from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Git branches made easy | https://github.com/git-town/git-town
- zypper - git-town-bash-completion - 24.0.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: git-town-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for git-town | https://github.com/git-town/git-town
- zypper - git-town-fish-completion - 24.0.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: git-town-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for git-town | https://github.com/git-town/git-town
- zypper - git-town-zsh-completion - 24.0.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: git-town-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for git-town | https://github.com/git-town/git-town
- MacPorts - git-town: normalized package name match | MacPorts ports tree: devel/git-town/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/git-town: normalized package name match | Scoop official bucket manifest trees: bucket/git-town.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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