···77777878We'll use the issue thread to discuss and refine the idea before moving
7979forward.
8080+8181+## developer certificate of origin (DCO)
8282+8383+We require all contributors to certify that they have the right to
8484+submit the code they're contributing. To do this, we follow the
8585+[Developer Certificate of Origin
8686+(DCO)](https://developercertificate.org/).
8787+8888+By signing your commits, you're stating that the contribution is your
8989+own work, or that you have the right to submit it under the project's
9090+license. This helps us keep things clean and legally sound.
9191+9292+To sign your commit, just add the `-s` flag when committing:
9393+9494+```sh
9595+git commit -s -m "your commit message"
9696+```
9797+9898+This appends a line like:
9999+100100+```
101101+Signed-off-by: Your Name <your.email@example.com>
102102+```
103103+104104+We won't merge commits if they aren't signed off. If you forget, you can
105105+amend the last commit like this:
106106+107107+```sh
108108+git commit --amend -s
109109+```
110110+111111+If you're submitting a PR with multiple commits, make sure each one is
112112+signed.
113113+114114+For [jj](https://jj-vcs.github.io/jj/latest/) users, you can add this to
115115+your jj config:
116116+117117+```
118118+ui.should-sign-off = true
119119+```
120120+121121+and to your `templates.draft_commit_description`, add the following `if`
122122+block:
123123+124124+```
125125+ if(
126126+ config("ui.should-sign-off").as_boolean() && !description.contains("Signed-off-by: " ++ author.name()),
127127+ "\nSigned-off-by: " ++ author.name() ++ " <" ++ author.email() ++ ">",
128128+ ),
129129+```
130130+131131+Refer to the [jj
132132+documentation](https://jj-vcs.github.io/jj/latest/config/#default-description)
133133+for more information.