git-stack VS git-branchless

Compare git-stack vs git-branchless and see what are their differences.

git-stack

Stacked branch management for Git (by epage)

git-branchless

High-velocity, monorepo-scale workflow for Git (by arxanas)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
git-stack git-branchless
12 58
11 3,493
- -
0.0 9.2
7 days ago 3 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

git-stack

Posts with mentions or reviews of git-stack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-21.
  • [Gitoxide December Update]: a new object database and upcoming multi-pack index support
    5 projects | /r/rust | 21 Jan 2022
    git-stack is the most complicated, rewriting history, detecting when a branch was squashed, etc
  • Lazygit: A simple terminal UI for Git commands
    12 projects | news.ycombinator.com | 30 Nov 2021
    I used to use aliases but got frustrated with them when dealing with PRs depending on PRs, so I wrote git-stack [0]. Thought I'd share in case you'd find it useful

    [0] https://github.com/epage/git-stack/blob/main/docs/reference....

  • Stacked changes: how FB and Google engineers stay unblocked and ship faster
    12 projects | news.ycombinator.com | 17 Nov 2021
    For anyone interested, I've been collecting notes on various tools in this space: https://github.com/epage/git-stack/blob/main/docs/comparison... (granted the page doesn't mention git-stack since that is assumed)
  • Good strategy to follow for small incremental pull request
    1 project | /r/git | 17 Nov 2021
    Personally, I rebase my PR branches on top of each other, rather than merge. It creates a cleaner history (if your merge policy allows maintaining branch history). Tired of managing these branches, I wrote a tool to help though there are other tools in this space, like git-branchless and graphite.
  • Lightning-fast rebases with Git-move
    7 projects | news.ycombinator.com | 17 Oct 2021
    git-move and git-branchless do some great stuff, I wish this wasn't focused on the performance side to distract from the real value.

    What I find useful is not the performance but this line

    > For example, it can move entire subtrees, not just branches

    The referenced docs mention other great quality of life improvements that streamline standard workflows (e.g. deleting local PR branches when merged into upstream)

    When performance does matter is when the rebase operation is a small part of a larger operation. In my related tool, git-stack [0], I rebase all branches on top of their latest upstream branches along with re-arranging and squashing fixup commits and soon other features. When automating entire workflows, having each part be fast is important for the whole to still have decent performance.

    [0] https://github.com/epage/git-stack

  • Continuous Integration with Github Actions and Rust
    4 projects | /r/rust | 20 Sep 2021
    audit for security audits - Separate from regular CI since it only matters for specific changes or when new critical issues come out.
  • My favorite git aliases
    1 project | /r/programming | 3 Sep 2021
    You might be interested in git-stack that I've previously announced
  • git-stack: Request for feedback / testers
    2 projects | /r/rust | 18 Aug 2021
    Could you comment on https://github.com/epage/git-stack/issues/25 for why it helps to iterate to find the last non-conflicting commit to rebase onto?
    1 project | /r/git | 18 Aug 2021
    git-stack is the result of me being tired of annoyances in the PR workflow and trying to improve it, like
  • git-stack: Stacked branch management for Git
    2 projects | /r/programming | 18 Aug 2021
    Fixing branches off of branches when applying a fixup commit (not implemented yet)

git-branchless

Posts with mentions or reviews of git-branchless. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-07.
  • Ask HN: Git Alternatives – Sapling vs. Jj
    7 projects | news.ycombinator.com | 7 Dec 2024
    You can run the tests on each commit in parallel if you're okay with wasting CPU time to save wall-clock time. git-branchless can speculatively run linear or binary search in parallel up to a user-specified number of jobs [1], and I'd like it add it to jj someday, as it's one of the features I miss most.

    (To run the tests in parallel, git-branchless provisions its own worktrees. For binary search, it speculatively executes the search for the potential success and failure cases; when the number of jobs is a power of 2, this partitions the search space evenly.)

    [1]: https://github.com/arxanas/git-branchless/wiki/Command:-git-...

  • Working with stacked branches in Git is easier with –update-refs
    1 project | news.ycombinator.com | 15 Jul 2024
    When I was doing more hardcore dev instead of SRE'ing I settled on git branchless, was well worth the experimenting you have to do to get it into your mental model.

    now that I hardly ever have 2 layer deep stacks I just settle on my go-to git client which is magit. It just takes a couple of keystrokes to do a couple of stacked rebases.

    [1]: https://github.com/arxanas/git-branchless

  • Ask HN: Can we do better than Git for version control?
    17 projects | news.ycombinator.com | 10 Dec 2023
    Yes, but due to its simplicity + extensibility + widespread adoption, I wouldn’t be surprised if we’re still using Git 100+ years from now.

    The current trend (most popular and IMO likely to succeed) is to make tools (“layers”) which work on top of Git, like more intuitive UI/patterns (https://github.com/jesseduffield/lazygit, https://github.com/arxanas/git-branchless) and smart merge resolvers (https://github.com/Symbolk/IntelliMerge, https://docs.plasticscm.com/semanticmerge/how-to-configure/s...). Git it so flexible, even things that it handles terribly by default, it handles

  • Meta developer tools: Working at scale
    6 projects | news.ycombinator.com | 28 Jun 2023
  • Show HN: Gut – An easy-to-use CLI for Git
    19 projects | news.ycombinator.com | 30 Mar 2023
  • Branchless Workflow for Git
    1 project | /r/hypeurls | 8 Jan 2023
    4 projects | news.ycombinator.com | 8 Jan 2023
    > Is this for a case where a bunch of people branch from master@HEAD (lets call this A), then you need to modify A, so you then need to rebase each branch that branched from A individually?

    Mainly it's for when you branch from A multiple times, and then modify A. This can happen if you have some base work that you build multiple features on top of. I routinely do this as part of rapid prototyping, as described here: https://github.com/arxanas/git-branchless/wiki/Workflow:-div...

    `git undo` shows a list of operations it'll execute, which you have to confirm before accepting. Of course, it's ultimately a matter of trust in the tools you use.

  • Where are my Git UI features from the future?
    9 projects | news.ycombinator.com | 8 Jan 2023
  • git-branchless: High-velocity, monorepo-scale workflow for Git
    1 project | /r/CKsTechNews | 17 Nov 2022
  • git-branchless
    1 project | news.ycombinator.com | 17 Nov 2022

What are some alternatives?

When comparing git-stack and git-branchless you can also consider the following projects:

ghstack - Submit stacked diffs to GitHub on the command line

graphite-cli - Graphite's CLI makes creating and submitting stacked changes easy.

lazygit.nvim - Plugin for calling lazygit from within neovim.

jj - A Git-compatible VCS that is both simple and powerful

magit - It's Magit! A Git Porcelain inside Emacs.

feedback - Public feedback discussions for: GitHub for Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more! [Moved to: https://github.com/github-community/community]

vimagit - Ease your git workflow within Vim

GitUp - The Git interface you've been missing all your life has finally arrived.

lazygit - simple terminal UI for git commands

autorebase - Automatically rebase all your branches onto master

libgit2 - A cross-platform, linkable library implementation of Git that you can use in your application.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured