mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Add DCO description to CONTRIBUTING.md
Signed-off-by: cd1989 <chende@caicloud.io>
This commit is contained in:
parent
7f4dac2101
commit
6d9fc4fec0
@ -237,10 +237,16 @@ Please don't use `git pull` instead of the above `fetch / rebase`. `git pull` do
|
||||
|
||||
### Commit
|
||||
|
||||
As Harbor has integrated the [DCO (Developer Certificate of Origin)](https://probot.github.io/apps/dco/) check tool, contributors are required to sign-off that they adhere to those requirements by adding a `Signed-off-by` line to the commit messages. Git has even provided a `-s` command line option to append that automatically to your commit messages, please use it when you commit your changes.
|
||||
|
||||
```bash
|
||||
$ git commit -s -m 'This is my commit message'
|
||||
```
|
||||
|
||||
Commit your changes if they're ready:
|
||||
```
|
||||
#git add -A
|
||||
git commit #-a
|
||||
git commit -s #-a
|
||||
git push --force-with-lease $user my_feature
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user