Steve's Jujutsu Tutorial

(steveklabnik.github.io)

48 points | by drudru 16 hours ago ago

20 comments

  • red_admiral 11 minutes ago

    I expected actual Jujutsu :)

    I recommend looking up Bartitsu (that Conan Doyle spelled Baritsu), a short-lived but very interesting martial art.

  • itohihiyt 44 minutes ago

    Came here for a martial arts tutorial, which I thought was a bit weird to see front page on HN, and now I see an alternative to git.

    I don't particularly like git and for personal projects use fossil instead.

    Without going through the whole tutorial, and doing a lot more reading, why should I consider using this over fossil?

    • kettleballroll 32 minutes ago

      Same. I miss the old times when people tried naming their projects sensibly. I mean, we're constantly telling ourselves how variable and function names should speak for themselves, but then we name our projects using random, completely non-descript names. It's a annoying.

  • phildenhoff 2 hours ago

    Steve, I see you’re in this thread. I was using jj for a while before reading your tutorial and yet still found it quite insightful and helpful. Thanks for your contribution!

  • ZoomZoomZoom 41 minutes ago

    Would be great if it was Pijul that got Steve's attention. Sometimes it's all you need to achieve a lot.

    • cinntaile 8 minutes ago

      No updates since March 2024?

  • nixosbestos 10 hours ago

    One of my favorite people talking about my single favorite tool of the past 3+ years. Up there with (above, really) zellij and helix for changing my daily life.

  • aos 2 hours ago

    I’ve started to use jj much more often (and actually used this tutorial to get me started!). I do wish its interaction with Nix flakes is less annoying though, but that’s not the fault jj.

  • lawn 16 minutes ago

    I really like Jujutsu but I went back to Git because there wasn't a Neovim plugin with features comparable to Neogit or Fugitive.

    I even started writing one but that was a pretty big project and I lost the motivation for it.

  • cyanf an hour ago

    thank you steve, i’ve been excited for this!

  • chaostheory 2 hours ago

    I get that naming is one of the hardest problems in computer science, but naming software after a martial art is just lazy and will lead to problems with things like searches

    • red_admiral 10 minutes ago

      Like naming your language after a common two-letter verb. At least we can search for 'golang'.

  • drudru 15 hours ago

    Steve wrote this in a very approachable style. It is the first time I really understood what 'jj' is about. I'm actually kind of excited to start using this tool with my git repos.

    • steveklabnik 13 hours ago

      Thanks so much!

      Just want to point out that this hasn’t been updated in a minute, and in particular, you’ll get some messages about branches being bookmarks now: https://github.com/steveklabnik/jujutsu-tutorial/pull/34

      I have started on a second iteration of the tutorial in private, and am gonna see if I can get it in shape this weekend.

      Happy to answer questions about jj!

      • emmelaich 2 hours ago

        Does "in a minute" mean "not for a long time"? Because that's how my kids use that phrase.

        English is so great and so confusing!

        • stackghost 2 hours ago

          It means both "in a long time" and "in a short time", depending on context and intonation.

      • drudru 13 hours ago

        Thank you Steve! Really enjoying this tutorial. No questions so far.

    • miguelxpn 12 hours ago

      No surprises there. Steve has always been a great writer.

  • 38 9 hours ago

    Jujutsu is terrible in my opinion. people hate the index, but I think they just dont get it. to me a commit is something that is ready to push, and the index is for stuff that is done but not ready to push. just because I wrote one line that I am happy with, doesn't mean I am ready to commit and push that. I prefer to add stuff thats done, then when enough is done I can commit and push. if you remove the index it makes it too easy to push half done stuff