git-branchless VS sapling

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

git-branchless

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

sapling

A Scalable, User-Friendly Source Control System. (by facebook)
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 sapling
55 42
3,306 5,808
- 2.4%
9.4 10.0
5 days ago about 20 hours ago
Rust Rust
Apache License 2.0 GNU General Public License v3.0 only
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

sapling

Posts with mentions or reviews of sapling. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-04.
  • Twenty Years Is Nothing
    4 projects | news.ycombinator.com | 4 Mar 2024
    I am personally surprised that TFA didn't mention either jj or Sapling [0] given its emphasis on how both Git and svn were both made to be backwards compatible!

    [0] https://github.com/facebook/sapling

  • Jj init – getting serious about replacing Git with Jujutsu
    1 project | news.ycombinator.com | 2 Feb 2024
    Lots to digest here! I have been keeping an eye on Pijul so it is cool to see some of its features implemented in jj. Sapling[0], similarly, is a new VCS tool out there which can work with a git repo. It also has anonymous branches, no staging area, supports stacked commits and can track the history of a commit over time. I've been using a similar workflow to the article's author: git with a UI to handle commits of hunks of a file to group related changes. My working branch often has unrelated changes that get tossed from branch to branch as I am able to commit. I haven't figured out where these new tools fit into my workflow yet, but I am glad there's new options that will help making working on a project more flexible and organized.

    [0]: https://sapling-scm.com

  • Sapling – A VCS from Meta
    3 projects | news.ycombinator.com | 2 Feb 2024
  • Sapling: A Scalable, User-Friendly Source Control System
    1 project | news.ycombinator.com | 10 Dec 2023
    1 project | news.ycombinator.com | 21 Nov 2023
  • Ask HN: Can we do better than Git for version control?
    17 projects | news.ycombinator.com | 10 Dec 2023
    yep both extended it and have versions that can work against GitHub/git servers.

    sapling scm from meta has I think the best cli and VS code UX https://sapling-scm.com/

    jj from google is also mercurial derived with very similar cli features like histedit and has support for deferring conflict resolution https://github.com/martinvonz/jj

  • Your GitHub pull request workflow is slowing you down
    5 projects | /r/programming | 6 Dec 2023
  • Sapling – A Scalable, User-Friendly Source Control System
    1 project | news.ycombinator.com | 23 Nov 2023
  • Mononoke
    1 project | news.ycombinator.com | 21 Nov 2023
  • I (kind of) killed Mercurial at Mozilla
    12 projects | news.ycombinator.com | 21 Nov 2023
    As somebody who has actually been using Sapling (because it provides a much saner UI and mental model than git), the git compatibility of Sapling is at best so-so. It feels more like a stopgap solution while they're evolving their own backend (which I'm pretty sure they use internally, because git just doesn't scale to FB monorepo size and doesn't support their rebase-on-push operation). LFS flat-out doesn't work with Sapling. Force pushing after an amend or rebase is still cumbersome, because you need to explicitly specify (again) the branch you are pushing to. And I'm not sure how bad the file descriptor problem still is that you have (had?) with large repos or submodules [1]; there was a new release recently, but I haven't actually stress-tested that.

    [1] At least some of that may be due to file descriptor leaks: https://github.com/facebook/sapling/issues/464

What are some alternatives?

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

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

go-git - A highly extensible Git implementation in pure Go.

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

nextjs-template - A bit personalized version of the `with-typescript-eslint-jest` template.

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

FTC-for-VS-Code - A VS Code extension for accessing FTC snippets, debugger, and Android cmdline tools from a button

vimagit - Ease your git workflow within Vim

buck2-prelude - Prelude for the Buck2 project

lazygit - simple terminal UI for git commands

reactide - Reactide is the first dedicated IDE for React web application development.

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

dulwich - Pure-Python Git implementation