graphite-cli VS git-stack

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

graphite-cli

Graphite's CLI makes creating and submitting stacked changes easy. (by withgraphite)

git-stack

Stacked branch management for Git (by gitext-rs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
graphite-cli git-stack
8 10
217 479
- 4.6%
7.2 8.1
10 months ago 6 days ago
TypeScript Rust
GNU Affero General Public License v3.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.

graphite-cli

Posts with mentions or reviews of graphite-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-17.
  • Graphite CLI development is no more open source
    1 project | news.ycombinator.com | 25 Jul 2023
  • Stacked changes: how FB and Google engineers stay unblocked and ship faster
    12 projects | news.ycombinator.com | 17 Nov 2021
    This is exactly the problem that graphite-cli solves (https://github.com/screenplaydev/graphite-cli)

    It keeps track of branchs and their parents by storing a tiny bit of metadata in the native git refs. It uses that information to perform recursive rebases: https://github.com/screenplaydev/graphite-cli/blob/main/src/...

    It ends up working seamlessly - you just modify some branch, and then run `gt stack fix` to recursively rebase everything. (and then `gt stack submit` to sync everything to github :)

    docs here: https://docs.graphite.dev/guides/graphite-cli

  • How to use native git as a key-value store
    1 project | dev.to | 2 Sep 2021
    You can read Graphite's full implementation of metadata handing here.
  • Show HN: Stacked diffs / interdependent changes (on GitHub)
    1 project | news.ycombinator.com | 29 Jul 2021
    We (Screenplay, https://screenplay.dev) built an internal tool (Graphite) to enable stacked diffs on GitHub for an individual (i.e. you can adopt it without your team also having to adopt it). It's inspired by some of the internal tooling we had at bigger companies. Specifically, the tool has two parts:

      * The CLI - https://github.com/screenplaydev/graphite-cli: Allows you to create diffs, restack them, submit them to GitHub, etc. It runs locally and stores all the metadata in your .git folder.

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 2023-08-11.
  • Pijul: Version-Control Post-Git • Goto 2023
    11 projects | news.ycombinator.com | 11 Aug 2023
    I'm not seeing a git compatibility layer? So I think it's a neat project, but I probably won't try it because nearly all code is rooted squarely in git. Even if Pijul is perfect, you'd need to convince everyone else to use it.

    Nevertheless, the increased interest in moving to patch based workflows from branch based ones is great. There's a lot of similar tools here (https://github.com/gitext-rs/git-stack/blob/main/docs/compar...) which I refer to infrequently.

    Personally my favorite tool for living-with-the-reality-that-is-branches is git-machete (https://github.com/VirtusLab/git-machete).

  • Highlights from Git 2.38
    2 projects | /r/git | 3 Oct 2022
    This is huge. I've wasted so much time on this, I wrote my own tool. No idea how thoroughly they've implemented this though (what all corner cases does it update or not)
  • In Praise of Stacked PRs
    14 projects | news.ycombinator.com | 24 Jul 2022
    > Probably some arcane git magic to (interactively) rebase branch

    There is not really a command for that yet, short of adding a bunch of `exec` steps to your interactive rebase manually. See https://news.ycombinator.com/item?id=32217204 for an upcoming command.

    You might enjoy using https://github.com/gitext-rs/git-stack, which specifically tries to let you manage stacked branches locally while not exposing tons of PRs to your coworkers.

    git-branchless itself also lets you manage stacked branches in various ways. For example, you can do `git checkout `, `git commit --amend`, and then `git restack` to rebase all the descendant branches sensibly. You can use it on the local side of things only and then use Github PRs as normal.

  • Termgraph 0.1 released
    3 projects | /r/rust | 17 May 2022
    I've been using termtree in my applications but I'm needing something more like git log --graph for git stack but haven't found a general purpose one (there is an implementation inside of git branchless) and haven't had a chance to make one myself.
  • Git PR management Tooling
    2 projects | /r/git | 7 May 2022
    Got a comparison of tools in this space at https://github.com/gitext-rs/git-stack/blob/main/docs/comparison.md
  • Git-stack: Stacked branch management for Git
    2 projects | news.ycombinator.com | 21 Mar 2022
  • 🗓 ⬇️ Lost in a sea of local branches? `--sort` might help!
    1 project | /r/git | 17 Mar 2022
    I try to keep the number of branches down but git-stack provides something like git log --graph that collapses branches from other users and old branches, keeping the main view clean.
  • Code Review Decision Fatigue
    2 projects | news.ycombinator.com | 14 Mar 2022
    Checkout https://github.com/gitext-rs/git-stack/blob/main/docs/compar... (note, the tool hosting this page is not included but as the author).

    As the author of git stack, with all relevant biases, I recommend

    - git stack for automating what you are already doing

    - git branchless for more power at the risk of incombatibilities because its only as good as the data fed to git hooks

    - jj if your open to something very different

What are some alternatives?

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

git-branchless - High-velocity, monorepo-scale workflow for Git