Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, scoop 安装 git-branchless

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

安装

其他安装命令

macOS

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

local Homebrew formula metadata

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

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add git-branchless

Alpine Linux edge package indexes · git-branchless · 来源: dl-cdn.alpinelinux.org

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

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

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

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

Windows

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

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

概览

软件包摘要

High-velocity, monorepo-scale workflow for Git

命令和别名

  • git-branchless

历史

项目历史与用法

git-branchless is a Rust suite of Git workflow tools for undo, smart logs, commit-stack manipulation, restacking, syncing, and fast monorepo-scale history operations.

项目历史

The repository opened in 2020 and grew around a branchless workflow idea: users can commit directly, treat branches as optional labels, and manipulate commit graphs without fear of losing work. The README presents the tool as compatible with branches while adding undo, smartlog, restack, sync, move, next, prev, and interactive switch commands.

The design goals describe git-branchless as an incremental improvement path for Git users and a test bed for workflows later explored by Jujutsu. Its emphasis is practical rather than academic: reduce Git complexity, increase developer velocity, and keep commands fast enough for very large repositories.

采用历史

git-branchless became one of the better-known modern Git workflow experiments. The project documents package-manager installation, Cargo installation, Git hooks, shell alias integration, discussions, Discord, and a user survey, and it benchmarks ideas against large repositories such as Linux and Mozilla's gecko-dev.

Its related-tools page places it in the same ecosystem as Stacked Git, git-stack, git-ps, Jujutsu, Sapling, git-absorb, git-autofixup, and git-revise, making it part of the broader move toward stacked-diff and mutable-history workflows.

使用方式

Practitioners install the executable, run git branchless init inside each repository, and then use git sl for a smart log, git undo for repository-level undo, git restack to repair abandoned descendants, git sync to rebase local stacks, and git move to manipulate subtrees of commits without checking them out.

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

For package maintainers, git-branchless is notable because it ships a Rust CLI with Git hook integration, Cargo distribution, packages across several ecosystems, and commands that intentionally wrap or augment ordinary Git rather than replacing the repository format.

时间线

  • 2020: Repository created.
  • 2021: Public 0.x tags began with v0.1.0 and expanded through frequent 0.3 releases.
  • 2024: v0.10.0 continued the pre-1.0 release line.
  • 2026: v0.11.1 was published in the same 0.x series.

Related projects

  • Related and adjacent tools include Jujutsu, Sapling, Stacked Git, git-stack, Git Patch Stack, git-absorb, git-autofixup, git-revise, Git itself, and large monorepo workflows.

安全态势

风险级别:绿色

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-branchlesscli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.11.1
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v0.11.1

https://github.com/arxanas/git-branchless

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

安装元数据

软件包元数据

软件包键brew:git-branchless
版本0.11.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/git-branchless
主页https://github.com/arxanas/git-branchless
仓库https://github.com/arxanas/git-branchless
上游文档https://github.com/arxanas/git-branchless/wiki
许可证Apache-2.0 OR MIT
源码归档https://github.com/arxanas/git-branchless/archive/refs/tags/v0.11.1.tar.gz
最后更新2026-06-22T14:03:30-07:00
Pulseupdated
依赖libgit2
构建依赖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-branchless
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-branchless

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

git-branchless 0.10.0-r2

Suite of tools to help you visualize, navigate, manipulate, and repair your commit graph

https://github.com/arxanas/git-branchless

sudo apk add git-branchless
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: git-branchless
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Branchless
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-branchless from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-branchless-doc 0.10.0-r2

Suite of tools to help you visualize, navigate, manipulate, and repair your commit graph (documentation)

https://github.com/arxanas/git-branchless

sudo apk add git-branchless-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: git-branchless
  • normalized package name match
  • 匹配方式:Git Branchless
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-branchless-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

git-branchless 0.11.1-1

High-velocity monorepo-scale workflow for Git

https://github.com/arxanas/git-branchless

sudo pacman -S git-branchless
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Git Branchless
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-branchless from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

git-branchless

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

main/git-branchless

scoop install main/git-branchless
  • normalized package name match
  • 匹配方式:Git Branchless
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-branchless.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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment