···115115If you're submitting a PR with multiple commits, make sure each one is
116116signed.
117117118118-For [jj](https://jj-vcs.github.io/jj/latest/) users, you can add this to
119119-your jj config:
118118+For [jj](https://jj-vcs.github.io/jj/latest/) users, you can run the following command
119119+to make it sign off commits in the tangled repo:
120120121121-```
122122-ui.should-sign-off = true
123123-```
124124-125125-and to your `templates.draft_commit_description`, add the following `if`
126126-block:
127127-128128-```
129129- if(
130130- config("ui.should-sign-off").as_boolean() && !description.contains("Signed-off-by: " ++ author.name()),
131131- "\nSigned-off-by: " ++ author.name() ++ " <" ++ author.email() ++ ">",
132132- ),
121121+```shell
122122+# Safety check, should say "No matching config key..."
123123+jj config list templates.commit_trailers
124124+# The command below may need to be adjusted if the command above returned something.
125125+jj config set --repo templates.commit_trailers "format_signed_off_by_trailer(self)"
133126```
134127135128Refer to the [jj
136136-documentation](https://jj-vcs.github.io/jj/latest/config/#default-description)
129129+documentation](https://jj-vcs.github.io/jj/latest/config/#commit-trailers)
137130for more information.