git-branchless VS graphite-cli

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

git-branchless

High-velocity, monorepo-scale workflow for Git (by arxanas)

graphite-cli

Graphite's CLI makes creating and submitting stacked changes easy. (by withgraphite)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
git-branchless graphite-cli
55 8
3,306 217
- -
9.4 7.2
5 days ago 10 months ago
Rust TypeScript
Apache License 2.0 GNU Affero General Public License v3.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-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 2023-12-10.
  • 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
  • Show HN: Maiao, Stacked Diffs for GitHub
    4 projects | news.ycombinator.com | 8 Oct 2022
    What happens is you work somewhere that has stacked diffs and suddenly you learn how to shape your diffs to make them easy to review. Thinking of how folks will review your code in chunks while writing it makes it cleaner. Having small but easy to read diffs makes reviews faster and helps junior devs learn how to review.

    Sometimes this doesn’t happen in which case you end up need to split your commit at the end. This is where git utterly fails. You end up needing git split and git absorb to make this productive.

    Git split let’s you select which chunks in a commit should belong to it and then splits that into a commit and then you do it again and again until you have lots of commits. You’ll still need to probably test each one but the majority of the work is done

    Git absorb takes changes on the top of your stack and magically finds which commit in your stack the each chunk should belong to and amends it to the right commit

    You also need git branchless https://github.com/arxanas/git-branchless as it lets you move up and down the stack without needing to remember so much git arcana.

  • High velocity, monorepo-scale workflow for Git
    1 project | news.ycombinator.com | 19 Sep 2022

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.

What are some alternatives?

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

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

git-stack - Stacked branch management for Git

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

ghstack - Submit stacked diffs to GitHub on the command line

vimagit - Ease your git workflow within Vim

git-stack - Stacked branch management for Git

lazygit - simple terminal UI for git commands

cockroach - CockroachDB - the open source, cloud-native distributed SQL database.

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

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]

legit - Git for Humans, Inspired by GitHub for Mac™.

Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.