News for hackers. Stuff that matters.
Re:Jujutsu for Busy Devs by zamalek on Monday July 21, 2025 @09:31PM (#44642360)
I've been using jj for a few weeks, and recently made an auto-commit-message script for it[1]. Just today I started working in an old git repo and thought that I should port the script to git. It turns out that jj made the script trivial because of immutable commits, and mt script would need to automatically do that with git: I use a rebase/amend/clean history workflow at work, so I would need the script to determine when to commit or when to amend. It's obviously possible, but I don't want to expend the effort - I just re-cloned it with jj.

It's amazing how quickly I forgot about the commit vs. amend papercut.

[1]: https://codeberg.org/jcdickinson/nix/src/branch/main/home/co...

Re:Jujutsu for Busy Devs by MForster on Tuesday July 22, 2025 @01:32AM (#44643530)
You don't even need to re-clone. You can add jj to an existing git repo.