1"$schema" = "https://jj-vcs.github.io/jj/latest/config-schema.json" 2 3[ui] 4default-command = ["log", "--no-pager"] 5should-sign-off = true 6# diff-editor = ["nvim", "-c", "DiffEditor $left $right $output"] 7# merge-editor = "vimdiff" 8# conflict-marker-style = "git" 9 10[user] 11name = "Seongmin Lee" 12email = "boltlessengineer@proton.me" 13 14[signing] 15behavior = "own" 16backend = "ssh" 17key = "~/.ssh/git-sign-key.pub" 18 19[git] 20write-change-id-header = true 21 22[templates] 23draft_commit_description = ''' 24concat( 25 coalesce(description, default_commit_description, "\n"), 26 if( 27 config("ui.should-sign-off").as_boolean() && !description.contains("Signed-off-by: " ++ author.name()), 28 "\nSigned-off-by: " ++ author.name() ++ " <" ++ author.email() ++ ">", 29 ), 30 surround( 31 "\nJJ: This commit contains the following changes:\n", "", 32 indent("JJ: ", diff.summary()), 33 ), 34 "\nJJ: ignore-rest\n", 35 diff.git(), 36) 37'''