Real-world workflows

We can use jj at this point, but I wouldn't say our workflow is great. In this chapter, we're going to explore two different workflows that are popular with jj users. Like git, jj is extremely flexible, and so you can customize your workflow in many ways, but I'd like to show you two examples. For me, understanding the basics we've talked about wasn't tough, but when I actually sat down to use jj, I found myself tripping up a bit. With a few more commands, we can have nicer workflows that let us work a bit more naturally.

We'll start with the "squash workflow," as it is the workflow that Martin himself prefers. We'll then talk about the "edit workflow," which is popular among people who don't like the squash workflow.


Workflow is mostly complete but we'll introduce some indispensable commands. Note that these workflows are not mandated at all; but, it's what people have settled on and feel most comfortable with

In this chapter, we'll expand bak utility to support multiple files provided through the CLI as arguments.