Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Human Friendly Log

Run:

jj config edit --user

and add:

[templates]
log = "simple_log"

[template-aliases]
empty_commit_marker = "label('empty', '▢')"

simple_log = """
  separate(" ",
    pad_end(
      4,
      separate("/",
        self.change_id().shortest(),
        if(self.divergent() || self.hidden(), self.change_offset())
      )
    ),
    if(self.immutable(), "🔒", "  ") ++ " ",
    if(self.empty(), empty_commit_marker),
    if(self.description(), self.description().first_line(), if(self.empty(), '', label('no_description', '←'))),
    self.bookmarks()
  )
"""