Automic VaultAutomic Vault

brew

git-trim を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install git-trim

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#git-trim

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

概要

パッケージ概要

Trim your git remote tracking branches that are merged or gone

コマンドとエイリアス

  • git-trim

履歴

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

git-trim is a Rust Git extension for cleaning local tracking branches whose upstream branches have been merged, deleted, or left behind after pull-request work.

プロジェクトの歴史

The project appeared on GitHub in January 2020. Its README frames the tool as a safer companion to git fetch --prune, because fetch pruning removes remote-tracking refs but leaves local tracking branches for the user to inspect and delete.

The project evolved around Git workflow edge cases rather than a large feature surface. Release notes for the 0.4 series describe base-branch detection from remote HEAD refs, worktree branch preservation, richer branch classification, and detailed skip messages.

採用の歴史

Adoption followed normal Git-extension channels: GitHub release binaries, cargo install, Homebrew, and other package-manager formulas. The package fits repositories where pull-request branches accumulate faster than developers want to prune them by hand.

使われ方

Practitioners run git trim after reviews or after synchronizing a repository. The README recommends dry-run mode for cautious use and trim.bases configuration for workflows with base branches such as develop and master.

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

git-trim matters to package and tooling users because it turns a fragile shell one-liner into a named Git subcommand that understands merged, stray, squash-merged, rebased, and triangular-workflow branches.

タイムライン

  • 2020: Repository created and 0.4 releases added workflow-oriented branch detection improvements.
  • 2022: v0.4.3 release shipped dependency updates and packaged binaries.

Related projects

  • git fetch --prune, git branch --merged, git2, cargo, Homebrew

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/foriequal0/git-trim

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:git-trim
バージョン0.4.4
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/git-trim
ホームページhttps://github.com/foriequal0/git-trim
リポジトリhttps://github.com/foriequal0/git-trim
上流ドキュメントhttps://github.com/foriequal0/git-trim#readme
ライセンスMIT
ソースアーカイブhttps://github.com/foriequal0/git-trim.git
依存関係openssl@3
ビルド依存関係pkgconf, rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

git-trim

nix profile install nixpkgs#git-trim
  • normalized package name match
  • 一致条件: Git Trim
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-trim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

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

このページは 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