|
| 1 | +# Tilus Contribution Guides |
| 2 | + |
| 3 | +## Signing your contribution |
| 4 | +To help ensure the integrity and authenticity of contributions, all contributors are required to sign their commits. This is done by adding a 'Signed-off-by' line to each commit message, certifying compliance with the Developer Certificate of Origin (DCO). |
| 5 | + |
| 6 | +### How to sign your commits |
| 7 | + |
| 8 | +You can sign your commits using the `-s` or `--signoff` option with `git commit`: |
| 9 | + |
| 10 | +```bash |
| 11 | +git commit -s -m "Your commit message" |
| 12 | +``` |
| 13 | + |
| 14 | +This will append a line like the following to your commit message: |
| 15 | + |
| 16 | + Signed-off-by: Your Name <[email protected]> |
| 17 | + |
| 18 | +Make sure the name and email address match your Git configuration. You can check your current settings with: |
| 19 | + |
| 20 | +```bash |
| 21 | +git config user.name |
| 22 | +git config user.email |
| 23 | +``` |
| 24 | + |
| 25 | +If you need to update them: |
| 26 | + |
| 27 | +```bash |
| 28 | +git config --global user.name "Your Name" |
| 29 | +git config --global user.email "[email protected]" |
| 30 | +``` |
| 31 | + |
| 32 | +All commits must be signed to be accepted. |
| 33 | + |
| 34 | +### Developer Certificate of Origin |
| 35 | + |
| 36 | +Developer's Certificate of Origin 1.1 |
| 37 | + |
| 38 | +By making a contribution to this project, I certify that: |
| 39 | + |
| 40 | +(a) The contribution was created in whole or in part by me and I |
| 41 | + have the right to submit it under the open source license |
| 42 | + indicated in the file; or |
| 43 | + |
| 44 | +(b) The contribution is based upon previous work that, to the best |
| 45 | + of my knowledge, is covered under an appropriate open source |
| 46 | + license and I have the right under that license to submit that |
| 47 | + work with modifications, whether created in whole or in part |
| 48 | + by me, under the same open source license (unless I am |
| 49 | + permitted to submit under a different license), as indicated |
| 50 | + in the file; or |
| 51 | + |
| 52 | +(c) The contribution was provided directly to me by some other |
| 53 | + person who certified (a), (b) or (c) and I have not modified |
| 54 | + it. |
| 55 | + |
| 56 | +(d) I understand and agree that this project and the contribution |
| 57 | + are public and that a record of the contribution (including all |
| 58 | + personal information I submit with it, including my sign-off) is |
| 59 | + maintained indefinitely and may be redistributed consistent with |
| 60 | + this project or the open source license(s) involved. |
| 61 | + |
| 62 | +For more information, see https://developercertificate.org/. |
0 commit comments