Automic VaultAutomic Vault

brew

git-delete-merged-branches を Homebrew, apt, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install git-delete-merged-branches

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install git-delete-merged-branches

Debian stable package indexes · git-delete-merged-branches · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#git-delete-merged-branches

nixpkgs package indexes · pkgs/by-name/gi/git-delete-merged-branches/package.nix · ソース: api.github.com

概要

パッケージ概要

Command-line tool to delete merged Git branches

コマンドとエイリアス

  • git-dmb

履歴

プロジェクトの歴史と使われ方

git-delete-merged-branches is a Python command-line tool for cleaning up local and remote Git branches after their work has been merged. Its package installs the shorter `git-dmb` executable and documents safety-focused branch deletion.

プロジェクトの歴史

The upstream Git history begins in July 2020 with code for version 1.0.0. The project advanced quickly through early releases and later settled into a maintained CLI with tests, pre-commit integration, and package-manager distribution.

The README frames the tool around safe cleanup rather than raw deletion. It detects multiple forms of de-facto merges, including rebase merges, squash merges with extra effort, and cherry-picks by leveraging `git cherry`; it also supports workflows with multiple release branches.

採用の歴史

The official README lists install paths through pip and distribution packages including Arch AUR, Debian, Gentoo, Homebrew, MacPorts, NixOS, Ubuntu, and Void Linux. That makes the tool visible in the same package-manager space as Git workflow helpers rather than only as a Python package.

Its README also documents a command-name clash with git-extras, whose utility collection ships a simpler `git-delete-merged-branches` script. The standalone project responds by offering `python3 -m git_delete_merged_branches` and `git-dmb` invocation paths.

使われ方

Practitioners run it inside a repository to update remotes, fast-forward tracked release branches, list local and remote branches that appear merged, and ask before deletion. A `--dry-run` mode lets users inspect actions first, and `--verbose` shows Git commands.

The tool is used when teams accumulate topic branches across local clones, forks, and remote hosts. It is provider-agnostic and documents use with GitHub, GitLab, Gitea, and other Git hosting because it works through Git commands rather than a hosting API.

パッケージ好きにとっての重要性

The package is a good example of a small workflow CLI whose value lies in guardrails: branch deletion is risky, so the project packages conservative prompts, dry runs, `--force-with-lease`, and no shell-command construction.

Its overlap with git-extras is package-manager-relevant because PATH order can decide which command a user runs when both packages are installed.

タイムライン

  • 2020: The repository begins with version 1.0.0 code.
  • 2020: Rapid 1.x through 6.x releases establish the CLI and packaging shape.
  • 2021: Version 6.4.0 continues the maintained Python CLI line.
  • 2022: Version 7.4.0 lands after several 7.x releases.
  • 2025: Version 7.5.0 is released.
  • 2026: Version 7.6.0 is released.

Related projects

  • git-extras is a related utility collection and a direct command-name conflict noted by the README.
  • GitHub's automatic deletion of branches for merged pull requests is mentioned as a complementary hosting-side cleanup feature.
  • `git cherry` is the Git command named by the README as part of merge-detection logic.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
git-dmbcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版7.6.1
マネージャ更新日2026-07-23
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/hartwork/git-delete-merged-branches

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:git-delete-merged-branches
バージョン7.6.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/git-delete-merged-branches
ホームページhttps://github.com/hartwork/git-delete-merged-branches
リポジトリhttps://github.com/hartwork/git-delete-merged-branches
上流ドキュメントhttps://github.com/hartwork/git-delete-merged-branches#readme
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://files.pythonhosted.org/packages/4d/9e/538f1ed26a78b216fdd3aeae69385db83d2d4c21ca9894423eb709a86fa4/git_delete_merged_branches-7.6.1.tar.gz
最終更新2026-07-23T20:48:43Z
Pulseupdated
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-delete-merged-branches
Version Scheme0
Revision0
Conflicts With
  • git-extras
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

git-delete-merged-branches 7.5.0-1

command-line tool to delete merged git branches

https://github.com/hartwork/git-delete-merged-branches

sudo apt install git-delete-merged-branches
  • Section: vcs
  • Architecture: all
  • 2 依存関係
  • normalized package name match
  • 一致条件: Git Delete Merged Branches
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-delete-merged-branches from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-git-delete-merged-branches 7.5.0-1

command-line tool to delete merged git branches (Python module)

https://github.com/hartwork/git-delete-merged-branches

sudo apt install python3-git-delete-merged-branches
  • Section: python
  • Architecture: all
  • Source Package: git-delete-merged-branches
  • 4 依存関係
  • normalized package name match
  • 一致条件: Git Delete Merged Branches
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-git-delete-merged-branches from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-delete-merged-branches

nix profile install nixpkgs#git-delete-merged-branches
  • normalized package name match
  • 一致条件: Git Delete Merged Branches
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-delete-merged-branches/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

git-delete-merged-branches 7.4.0-1

command-line tool to delete merged git branches

https://github.com/hartwork/git-delete-merged-branches

sudo apt install git-delete-merged-branches
  • Section: universe/vcs
  • Architecture: all
  • 2 依存関係
  • normalized package name match
  • 一致条件: Git Delete Merged Branches
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-delete-merged-branches from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-git-delete-merged-branches 7.4.0-1

command-line tool to delete merged git branches (Python module)

https://github.com/hartwork/git-delete-merged-branches

sudo apt install python3-git-delete-merged-branches
  • Section: universe/python
  • Architecture: all
  • Source Package: git-delete-merged-branches
  • 4 依存関係
  • normalized package name match
  • 一致条件: Git Delete Merged Branches
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-git-delete-merged-branches from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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