| 1 | ifdef::git-commit[] |
| 2 | `-s`:: |
| 3 | endif::git-commit[] |
| 4 | `--signoff`:: |
| 5 | `--no-signoff`:: |
| 6 | Add a `Signed-off-by` trailer by the committer at the end of the commit |
| 7 | log message. The meaning of a signoff depends on the project |
| 8 | to which you're committing. For example, it may certify that |
| 9 | the committer has the rights to submit the work under the |
| 10 | project's license or agrees to some contributor representation, |
| 11 | such as a Developer Certificate of Origin. |
| 12 | (See https://developercertificate.org for the one used by the |
| 13 | Linux kernel and Git projects.) Consult the documentation or |
| 14 | leadership of the project to which you're contributing to |
| 15 | understand how the signoffs are used in that project. |
| 16 | + |
| 17 | The `--no-signoff` option can be used to countermand an earlier `--signoff` |
| 18 | option on the command line. |
| 19 | + |
| 20 | Git does not (and will not) have a configuration variable to enable |
| 21 | the `--signoff` command line option by default; see the |
| 22 | `commit.signoff` entry in linkgit:gitfaq[7] for more details. |