pkg.soopen package index

brew / 排名 5756

使用 Homebrew, apt, Nix 安装 git-delete-merged-branches

查看 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-dmb可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本7.6.1
管理器更新时间2026-07-23
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:git-delete-merged-branches
版本7.6.1
软件包管理器Homebrew
主页https://github.com/hartwork/git-delete-merged-branches
最后更新2026-07-23T20:48:43Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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

来源线索

由仓库数据生成

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

使用的来源

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