Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Jujutsu Primer (https://ethanlowman.com)

73 points by renehsz about 3 hours ago | 38 comments | View on ycombinator

ionwake 1 minute ago |

Is Domain Expansion planned?

nixpulvis about 1 hour ago |

I'm skeptical about the no staging area, but it seems just like a HEAD commit replaces that, which could be nice.

I really don't like the automatic bookmark naming thing.

I'm also skeptical about automatic rebasing, but having conflicts not block the process could be nice, I'll have to try it out on more complex trees.

Also, I didn't see a section on workspaces, but I assume they basically do the right thing.

danpalmer about 2 hours ago |

I've been using JJ almost exclusively for over 2 years now. It's great, it works fantastically with our rather large monorepo at work.

However I mostly use it backing on to a custom VCS, not git. I can't wait to see some JJ-native forges that don't try to keep it compatible with git, I think there's a lot more benefits and more UX to be explored there!

textlapse 14 minutes ago |

Does this work well with LLM workflows? Any advantages over git for say Claude or GPT or Gemini to stage changes in a better way?

soon_to_be_sb 19 minutes ago |

I have made my peace with git.

But I still miss the number commit references from mercurial...

zahrevsky about 1 hour ago |

What I miss is a guide on how a good commit history should look like, ideally focused on real-world examples.

There's lot's of jujutsu tutorials that teach you how to undo operations and write commit messages before the commit, but almost none cover what to do with all this power.

It's easy to name some general principles like “it should be easy to read” but I don't think it helps, especially if you're a novice like me.

ravieira about 1 hour ago |

I also strongly recommend this guide https://v5.chriskrycho.com/essays/jj-init/

NothingAboutAny about 1 hour ago |

how does using something like this compare to just using a simple git-wrapper that does all the hard stuff for you (ala lazygit)? Is jujutsu worth learning a whole new workflow for?

Okkef about 2 hours ago |

While jujitsu is superior to git in many ways, I found it hard to get Claude and other agents to use it consistently and more effectively than git.

Git and jj work trees are not interoperable, so any tool that assumes git forces you back. Looking at you, Claude app…

commandersaki about 1 hour ago |

I don't really see the point anymore of mastering jj or git; Claude does all the hard stuff for me.

rootlocus about 1 hour ago |

None of the pages explain to me why jujutsu is or why I should choose it over git.

mono442 22 minutes ago |

It seems like a good usability upgrade to git but a few years too late. I don't even remember how to use git anymore since the only thing I do manually is pushing to and pulling from the remote repo.

meling about 1 hour ago |

Have anyone tried jj together with gh stack?

herodoturtle about 2 hours ago |

Nice to see a minimal alternative to git.

Also I’m sure there’s a joke in here about rollbacks.

laruss5 37 minutes ago |

[flagged]