Git Clients

stax – manage stacked Git branches and pull requests

stax is a command-line and terminal interface for managing stacks of Git branches and their associated pull requests. Stacked development splits a larger change into a series of dependent branches so each piece can be reviewed independently while development continues further up the stack.

The project now covers much more than creating a simple chain of branches. It maintains stack metadata, synchronises branches as their parents change, manages pull requests and can coordinate stacks across multiple worktrees and machines.

This is free and open source software.

Key Features

  • Create branches as part of an ordered stack and visualise their relationships.
  • Submit an entire stack as a sequence of linked pull requests.
  • Refresh stacks after lower branches have merged and restack remaining work automatically.
  • Synchronise stack branches against their remote counterparts.
  • Can reconcile remote changes back into local stack branches when requested.
  • Provides CLI and terminal interfaces for viewing and manipulating stacks.
  • Native GitHub Stacked PR integration can register compatible pull requests as a GitHub Stack.
  • Can link and unlink native GitHub stacks explicitly when required.
  • Supports worktree-based development with multiple branches checked out independently.
  • Worktree lanes provide isolated environments for parallel pieces of work.
  • Reusable worktree slots can preserve dependency directories between tasks.
  • Supports restacking several worktree lanes after the trunk branch moves.
  • Can promote work from an auxiliary worktree back to the main worktree.
  • Tracks stack health and provides information useful for diagnosing inconsistent branch relationships.
  • Supports workflows where stack state must be reconciled across more than one development machine.

Website: github.com/cesarferreira/stax
Support:
Developer: César Ferreira
License: MIT License

stax is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Git Workflow Tools
git-extrasSuperb collection of tools for Git
forgitUtility for using git interactively
wrkflwValidate and run GitHub Actions workflows locally
git-branchlessBranchless workflow for git
git-absorbSuper-charging git rebase
git-toolbeltSuite of useful Git commands
git-openAdds a handy git open command to Git.
git-townAutomate the creation, synchronization, shipping, and cleanup
git-fuzzyInteractive git with the help of fzf
git-recentJump between recently used local Git branches
git-macheteRobust tool that simplifies your git workflows
git-flow-nextModern implementation of the Git-flow branching model
Git Interactive Rebase ToolTerminal-based sequence editor for interactive rebase
git-crecordInteractively select changes to commit or stage
git-xargsUpdate across multiple GitHub repositories
git-prompt.zshLightweight git prompt for zsh
git-imergeIncremental merge and rebase for Git
git reviseGit subcommand and Python library
wtpEnhanced Git worktree management
LazyWorktreeGit worktree management for the terminal
Hug SCMThe Humane Source Control Management Interface
git-smartSmall collection of Git helper commands
staxCLI and TUI for stacked Git branches and PRs
git-fixupCommand-line helper for Git users
git-autofixupGit helper that creates fixup commits for topic branches
BranchletCreate and manage Git worktrees
git-when-mergedMerge commit finder
git-flowHigh-level repository operations

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted