stgit
« Back to VersTracker
Description:
Manage Git commits as a stack of patches
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: git patches version-control development workflow
Install: brew install stgit
About:
Stgit is a patch manager that maintains Git commits as a stack of patches, similar to the Quilt workflow. It simplifies editing, reordering, and rebasing patches by providing high-level commands that abstract complex Git operations. This tool is ideal for developers who need fine-grained control over their commit history without manually rewriting Git history.
Key Features:
  • Stack-based patch management with push/pop operations
  • Interactive reordering and editing of patches
  • Automatic conflict resolution during rebase operations
  • Seamless integration with standard Git workflows and tools
Use Cases:
  • Maintaining a clean, linear commit history during feature development
  • Managing patch series for kernel or open-source project contributions
  • Splitting complex changes into reviewable atomic commits
Alternatives:
  • git-rebase – Lower-level and manual, lacks stack abstraction
  • Quilt – File-based patch management, not Git-native
Version History
Detected Version Rev Change Commit
Sep 15, 2025 12:15pm 0 VERSION_BUMP c786d8f8
Jan 2, 2025 5:28am 0 VERSION_BUMP 185543f8
Jan 2, 2025 5:07am 0 VERSION_BUMP c53bcba2
Dec 14, 2024 5:23pm 0 VERSION_BUMP aee2734b
Sep 13, 2024 2:22am 0 VERSION_BUMP 180fc039