logoalt Hacker News

spooky_actiontoday at 4:38 PM5 repliesview on HN

Well, time to bite the bullet and learn jujutsu over the holidays


Replies

ninjhatoday at 6:10 PM

I was scared to learn but then a coworker taught me the 4 commands I care about (jj new, jj undo, jj edit, jj log) and now I can't imagine going back to plain git.

Obviously the working tree should be a commit like any other! It just makes sense!

paradox460today at 9:27 PM

Do it. It's absolutely worth it. You can pick it up in 30 minutes and have full proficiency in an afternoon

wrstoday at 4:42 PM

It’s not so much biting the bullet as eating the delicious chocolate.

show 1 reply
acheong08today at 4:49 PM

Took me a month to learn jujutsu. Was initially a skeptic but pulled through. Git was always easy to me. Its model somehow just clicks in my brain. So when I first switched to jj, it made a lot of easy things hard due to the lack of staging (which is often part of my workflow). But now I see the value & it really does make hard things easy. My commit history is much cleaner for one.

Phlogistiquetoday at 5:30 PM

Well, Graphite solves the problem of how to keep your stack of GitHub pull requests in sync while you squash merge the lowest pull request in the stack; which as far as I know jujutsu does not help with.

show 2 replies