Skip to content

Commit 51c2e12

Browse files
authored
Add more content about DCO
Signed-off-by: alabulei1 <[email protected]>
1 parent 2f6bf43 commit 51c2e12

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

docs/contribute/contribute.md

+26-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 8
33
---
44

5-
# Contributing Steps
5+
# Code Contribution Steps
66

77
## Setup Development Environment
88

@@ -18,7 +18,7 @@ To build WasmEdge from the source, please refer to: [Build WasmEdge from source]
1818

1919
Pull requests are always welcome, even if they only contain minor fixes like typos or a few lines of code. If there will be a significant effort, please document it as an issue and get a discussion going before starting to work on it.
2020

21-
Please submit a pull request broken down into small changes bit by bit. A pull request consisting of many features and code changes may take a lot of work to review. It is recommended to submit pull requests incrementally.
21+
Please submit a pull request broken down into small changes bit by bit. A pull request consisting of many features and code changes may take a lot of work to review. It is recommended that pull requests be submitted incrementally.
2222

2323
<!-- prettier-ignore -->
2424
:::note
@@ -33,7 +33,30 @@ Fork [the WasmEdge repository](https://github.com/WasmEdge/WasmEdge) and clone t
3333

3434
Changes should be made on your own fork in a new branch. Pull requests should be rebased on the top of the main branch.
3535

36-
The WasmEdge project adopts [DCO](https://www.secondstate.io/articles/dco/) to manage all contributions. Please ensure you add your `sign-off-statement` through the `-s` or `--signoff` flag or the GitHub Web UI before committing the pull request message.
36+
Licensing is important to open source projects. It provides some assurances that the software will continue to be available based under the terms that the author(s) desired. We require that contributors sign off on commits submitted to our project's repositories. The [Developer Certificate of Origin (DCO)](https://probot.github.io/apps/dco/) is a way to certify that you wrote and have the right to contribute the code you are submitting to the project.
37+
38+
You can sign-off by adding the following to your commit messages. Your sign-off must
39+
match the git user and email associated with the commit.
40+
41+
```
42+
This is my commit message
43+
44+
Signed-off-by: Your Name <[email protected]>
45+
```
46+
47+
Git has a `-s` command line option to do this automatically:
48+
49+
```
50+
git commit -s -m 'This is my commit message'
51+
```
52+
53+
If you forgot to do this and have not yet pushed your changes to the remote
54+
repository, you can amend your commit with the sign-off by running
55+
56+
```
57+
git commit --amend -s
58+
```
59+
3760

3861
### Develop, Build, and Test
3962

0 commit comments

Comments
 (0)