Skip to content

Commit 169bbbd

Browse files
committed
Add DCO
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
1 parent 94e757b commit 169bbbd

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

dco.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Developer Certificate of Origin (DCO)
2+
In order to contribute to the project, you must agree to the Developer Certificate of Origin. A [Developer Certificate of Origin (DCO)](https://developercertificate.org/)
3+
is an affirmation that the developer contributing the proposed changes has the necessary rights to submit those changes.
4+
A DCO provides some additional legal protections while being relatively easy to do.
5+
6+
The entire DCO can be summarized as:
7+
- Certify that the submitted code can be submitted under the open source license of the project (e.g. MIT)
8+
- I understand that what I am contributing is public and will be redistributed indefinitely
9+
10+
11+
## How to Use Developer Certificate of Origin
12+
In order to contribute to the project, you must agree to the Developer Certificate of Origin. To confirm that you agree, your commit message must include a Signed-off-by trailer at the bottom of the commit message.
13+
14+
For example, it might look like the following:
15+
```bash
16+
A commit message
17+
18+
Closes gh-345
19+
20+
Signed-off-by: jane marmot <jmarmot@example.org>
21+
```
22+
23+
The Signed-off-by [trailer](https://git-scm.com/docs/git-interpret-trailers) can be added automatically by using the [-s or –signoff command line option](https://git-scm.com/docs/git-commit/2.13.7#Documentation/git-commit.txt--s) when specifying your commit message:
24+
```bash
25+
git commit -s -m
26+
```
27+
If you have chosen the [Keep my email address private](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address#about-commit-email-addresses) option within GitHub, the Signed-off-by trailer might look something like:
28+
```bash
29+
A commit message
30+
31+
Closes gh-345
32+
33+
Signed-off-by: jane marmot <462403+jmarmot@users.noreply.github.com>

0 commit comments

Comments
 (0)