git-branchless

git-branchless is a Rust-based suite of Git tools that enhances workflows for easier use, greater flexibility, and faster performance in large repositories or monorepos. It supports patch-stack development like Linux kernel workflows, offers commands such as git undo and git restack, and visualizes history via the smartlog (git sl). [perplexity.ai]

git-branchless 是一套基于 Rust 开发的 Git 工具套件,旨在提升工作流效率,使其更易用、更灵活,并在大型代码库或单体仓库中实现更快的性能。它支持类似 Linux 内核工作流的补丁栈开发模式,提供诸如 git undo 和 git restack 等命令,并通过智能日志(git sl)可视化历史记录。 [perplexity.ai]

install

# Windows 10
scoop install git-branchless

usage

git branchless init
git branchless init --uninstall