Hacker GitHub

← All repos

arxanas/git-branchless

View on GitHub ↗ ★ 4,139 Rust

High-velocity, monorepo-scale workflow for Git

65 mentions on Hacker News by 26 people: 6 stories, 59 comments · first 2021-03-29 · latest 2025-12-20

Mentions per year 65 mentions · busiest year 2021 (23)
20082026
  1. …the push I needed to finally give both jj and tangled a proper try and likely move stuff over. [1] https://github.com/arxanas/git-branchless [2] https://mergify.com
    comment by brw · 2025-12-20 · in Graphite is joining Cursor
  2. git-branchless implements revsets for git https://github.com/arxanas/git-branchless/wiki/Reference:-Re...
    comment by exclipy · 2025-09-01 · in Jujutsu for everyone
  3. I tried it for a bit and went back to git-branchless ( https://github.com/arxanas/git-branchless ). git-branchless is just a better set of tools for working on a git repo so local tools like the JetBrains git integration will work just…
    comment by exclipy · 2025-07-22 · in Jujutsu for busy devs
  4. …notes from both sides and fails to invalidate the cache? - This is how my `git test` command works https://github.com/arxanas/git-branchless/wiki/Command:-git-... --- I've also seen use-cases might prefer to use/add other things to the…
  5. …it that helpful. I think it's unfair to call it a "thin UI layer". My own project git-branchless https://github.com/arxanas/git-branchless might more legitimately be called a "thin UI layer", since it really is a wrapper around Git. jj…
    comment by arxanas · 2025-02-12 · in JJ Cheat Sheet
  6. …by `HEAD`), or if you want to determine a global ordering between events from different reflogs: https://github.com/arxanas/git-branchless/wiki/Architecture#... In contrast, jj snapshots the entire repo after each operation (including the…
  7. …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-...
  8. …can do that jj/Sapling can't, one example being its (somewhat opinionated) `git test` command: https://github.com/arxanas/git-branchless/wiki/Command:-git-...
  9. …has a link to this article explaining some things that can't be undone in the Git model via reflog: https://github.com/arxanas/git-branchless/wiki/Architecture#... - https://blog.waleedkhan.name/in-memory-rebases/ — It's non-trivial to…
  10. …wrappers, that's OK! But there's a lot more underneath the surface if you scratch at it a bit. [1] https://github.com/arxanas/git-branchless [2] The main developer of git-branchless also is a Jujutsu contributor, so these ideas and the…
  11. From the git-branchless wiki: https://github.com/arxanas/git-branchless/wiki/Concepts#anon... > Normally, only commits which are reachable by a branch are visible in stock Git. But this is not true: a "soft" tag suffices to keep a…
    comment by everybodyknows · 2024-09-09 · in Creating a Git Commit: The Hard Way
  12. …just makes everything a bit less arcane. The whole 'branch-dance' gets really old real fast. [1]: https://github.com/arxanas/git-branchless
  13. …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 ,…
  14. …tools a try. (1): https://github.com/facebook/sapling (2): https://github.com/martinvonz/jj/ (3): https://github.com/arxanas/git-branchless
    comment by sluongng · 2023-06-28 · in Meta developer tools: Working at scale
  15. Other similar projects are https://github.com/arxanas/git-branchless and https://github.com/martinvonz/jj .
    comment by martinvonz · 2023-03-30 · in Show HN: Gut – An easy-to-use CLI for Git
  16. …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…
    comment by arxanas · 2023-01-09 · in Branchless Workflow for Git
  17. It is not! See https://github.com/arxanas/git-branchless/wiki/Architecture#...
  18. …like that are dismissed over the old You Just Have To Understand The Model talking point. [1] https://github.com/arxanas/git-branchless/
    comment by avgcorrection · 2023-01-08 · in Where are my Git UI features from the future?
  19. …see the `git-branchless` column in the table for comparison with the other clients. - git reword: https://github.com/arxanas/git-branchless/wiki/Command:-git-... - git move will perform the magic "see all downstream conflicts", but…
  20. …enough workflows. Here's some features I've implemented which improve on `git rebase` in general: https://github.com/arxanas/git-branchless/wiki/Command:-git-...
  21. …to run tests on commits without checking them out, you might want to try my `git test` command: https://github.com/arxanas/git-branchless/discussions/643 You can use `sl fold --exact` to combine arbitrary commits without including the…
  22. To use a similar featureset but in the same Git repository you normally use, you can try my https://github.com/arxanas/git-branchless . Then, you can use your usual staging workflows if desired, or use regular Git commands directly. Its…
  23. "git undo" tool: https://github.com/arxanas/git-branchless/wiki/Command:-git-...
    comment by cakoose · 2022-11-10 · in Idiot Proof Git
  24. …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.
    comment by WookieRushing · 2022-10-08 · in Show HN: Maiao, Stacked Diffs for GitHub
  25. …looking at these for reference. - https://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/ - https://github.com/arxanas/git-branchless - https://cli.github.com/manual/gh_pr - https://github.com/arxanas/git-branchless/discussions/45 -…
    comment by allen-munsch · 2022-08-27 · in Bash script uses gh CLI to open patch stack
  26. …would be reasonable for me. (For example, here, I have 11 finished commits and 3 in progress: https://github.com/arxanas/git-branchless/pull/451 — but I don't actually use stacked PRs on Github, particularly if no one is reviewing my code.…
    comment by arxanas · 2022-07-24 · in In Praise of Stacked PRs
  27. …Happy to answer any questions about stacked PR workflows here or on GitHub discussions https://github.com/arxanas/git-branchless/discussions or Discord https://discord.gg/caYQBJ82A4 .
    comment by arxanas · 2022-07-24 · in In Praise of Stacked PRs
  28. Try out the linked tool git-branchless ( https://github.com/arxanas/git-branchless , I'm the author). It should help you restore Phabricator-like workflows. In particular, check out the `git sync`, `git restack`, and `git move` commands…
    comment by arxanas · 2022-07-24 · in In Praise of Stacked PRs
  29. …are unavoidable, but it can be nice to do branchless development as part of rapid prototyping (see https://github.com/arxanas/git-branchless/wiki/Workflow:-div... ). Another term you could use is "anonymous branching". This is not…
    comment by arxanas · 2022-07-24 · in In Praise of Stacked PRs
  30. The linked tool git-branchless handles this pretty well ( https://github.com/arxanas/git-branchless , I'm the author). You basically run `git checkout <branch>`, `git commit --amend`, and then `git restack`. This will rebase all dependent…
    comment by arxanas · 2022-07-24 · in In Praise of Stacked PRs
  31. …`git-branchless` (I am the author) also supports `git prev 3` followed by `git commit --amend`. See https://github.com/arxanas/git-branchless/wiki/Command:-git-...
    comment by arxanas · 2022-07-24 · in In Praise of Stacked PRs
  32. This is one of the big features from git-branchless ( https://github.com/arxanas/git-branchless/wiki/Command:-git-... ) which is recommended in the article; moving a stack (sub-tree) of commits instead of just one branch. Might be useful…
    comment by theptip · 2022-07-24 · in In Praise of Stacked PRs
  33. My project https://github.com/arxanas/git-branchless does this. Use `git undo -i` to get a graphical view of where branches were at an arbitrary previous point in time. It's worth noting that, in principle, there are cases where the reflog…
  34. You might be interested in my project git-branchless https://github.com/arxanas/git-branchless or the Git-compatible Jujutsu SCM https://github.com/martinvonz/jj , both of which have version control for commit history via an operation log.…
    comment by arxanas · 2022-07-05 · in What comes after Git
  35. Items 2 and 4 are addressed by my git-branchless project: https://github.com/arxanas/git-branchless . You can undo with `git undo`, and merge conflict resolution never starts unless you specify `-m`/`--merge`. There's a UI for item 3…
  36. Check out https://github.com/arxanas/git-branchless for `git undo` (and more)! (arxanas shared a link to my project elsewhere in this thread :))
    comment by martinvonz · 2022-03-27 · in Fossil
  37. …to post a comment on the article, so I'll post here. Regarding performance concerns, my own project https://github.com/arxanas/git-branchless is designed to work very fast at monorepo scale. It primarily supports a patch-stack workflow,…
    comment by arxanas · 2022-01-16 · in How I Use Stacked Git at $Work
  38. …here, but there's also my own tool ( https://github.com/martinvonz/jj ) and git-branchless ( https://github.com/arxanas/git-branchless ).
    comment by martinvonz · 2022-01-01 · in Ask HN: Do we need an easier Git?
  39. Asciinema is used for docs-ish in git-branchless's readme: https://github.com/arxanas/git-branchless/blob/master/README... It does have formal docs, but I didn't fully understand the program after reading them. I didn't enjoy sitting…
    comment by nyanpasu64 · 2021-11-30 · in 4x Smaller, 50x Faster
  40. …has `git undo` while gt has `git repo sync`. (Tracking issue for git-branchless's sync: https://github.com/arxanas/git-branchless/issues/174 ) git-branchless integrates more directly with Git, so you don't need to learn any new commands if…
  41. What is the difference between stacked changes and branchless? https://github.com/arxanas/git-branchless based off of the branchless Mercurial workflows at large companies such as Google and Facebook
  42. Thanks for the feedback. I also received this request today to document a relevant workflow: https://github.com/arxanas/git-branchless/issues/210 . If you want to be notified when I write the documentation (hopefully today?), then you can…
  43. > I'm working on improving monorepo-scale Git tooling at https://github.com/arxanas/git-branchless I'm intrigued by this but the readme could maybe use some work to describe how you envision it being used day-to-day? All the examples seem…
  44. …their way into Git proper. Shameless plug: I'm working on improving monorepo-scale Git tooling at https://github.com/arxanas/git-branchless , such as with in-memory rebases: https://blog.waleedkhan.name/in-memory-rebases/ . Try it out if…
  45. You might be interested in my project https://github.com/arxanas/git-branchless , which is intended to replicate such a workflow.
    comment by arxanas · 2021-11-06 · in Why SQLite does not use Git (2018)
  46. https://github.com/arxanas/git-branchless is worth a look as well. Currently alpha, and "designed for use in a repository with a single main branch", but offers extended undo and rebase functionality.
    comment by password4321 · 2021-10-22 · in Magit, the magical Git interface (2017)
  47. Why is that? There's some evidence that the name is intuitive: https://github.com/arxanas/git-branchless/discussions/45#dis...
    comment by arxanas · 2021-10-18 · in Fast rebases with git-move
  48. …contains other helpful tools, such as commit graph visualization and a commit graph undo feature: https://github.com/arxanas/git-branchless
    comment by arxanas · 2021-10-18 · in Fast rebases with git-move
  49. …people don't use and don't see the value of tree-based development. See this feedback from a user: https://github.com/arxanas/git-branchless/issues/6 So I decided to focus primarily on features which everyone understands, such as…
    comment by arxanas · 2021-10-18 · in Fast rebases with git-move
  50. Have you seen the rest of the https://github.com/arxanas/git-branchless project? It includes commit graph visualization and an undo feature, which works with rebases.
    comment by arxanas · 2021-10-17 · in Fast rebases with git-move