Get the latest tech news

Jujutsu VCS: Introduction and patterns


Jujutsu (jj), a new version control system written in Rust, has popped up on my radar a few times over the past year. Looked interesting based on a cursory look, but being actually pretty satisfied with Git, and not having major problems with it, I haven’t checked it out. That is, until last week, when I finally decided to give it a go! I dived into a couple blog posts for a few of hours, and surprisingly (noting that we’re talking about a VCS) I found myself enjoying it a lot, seeing the consistent design, and overall simplicity it managed to achieve.

I dived into a couple blog posts for a few of hours, and surprisingly (noting that we’re talking about a VCS) I found myself enjoying it a lot, seeing the consistent design, and overall simplicity it managed to achieve. There’s also--interactive where you can use a diff tool to choose modifications to squash into another change, and finally there’s a newer jj absorb command which can automate this process in certain scenarios. Another kind of stash I occasionally like to do is partial, where I temporarily roll back changes to a set of files to verify the before-after (e.g. confirm that a passing test was failing before).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of patterns

patterns

Related news:

News photo

Patterns for Personal Web Sites (2003)

News photo

The color and color-patterns of moths and butterflies (1897)

News photo

CFRS[] Community Demos: Patterns drawn with turtle graphics with 6 commands